home *** CD-ROM | disk | FTP | other *** search
/ The Frank Lloyd Wright Companion / The Frank Lloyd Wright Companion.iso / fullmacapps / macfllwc_small.sit / MacFLLWC_Small / flw.mvb.rsrc / CODE_2_QH Main2.txt < prev    next >
Text File  |  1995-09-30  |  495KB  |  8,971 lines

  1. # near model CODE resource
  2. # jump table entries: 56408-56525 (118 of them)
  3. 00000000  FFFF                     .extension 0xFFF // unimplemented
  4. 00000002  DC58                     add.w      D6, [A0]+
  5. 00000004  0000 5D7E                ori.b      D0, 0x7E /* '~' */
  6. 00000008  2F03                     move.l     -[A7], D3
  7. 0000000A  5D4F                     subq.w     A7, 6
  8. 0000000C  262F 000E                move.l     D3, [A7 + 0xE]
  9. 00000010  42A7                     clr.l      -[A7]
  10. 00000012  4EAD DB14                jsr        [A5 - 0x24EC]
  11. 00000016  2F2F 0016                move.l     -[A7], [A7 + 0x16]
  12. 0000001A  2F03                     move.l     -[A7], D3
  13. 0000001C  4EAD DB26                jsr        [A5 - 0x24DA]
  14. 00000020  2F48 000E                move.l     [A7 + 0xE], A0
  15. 00000024  4878 0001                push.l     0x1
  16. 00000028  4EAD DB14                jsr        [A5 - 0x24EC]
  17. 0000002C  4AAF 0012                tst.l      [A7 + 0x12]
  18. 00000030  4FEF 0010                lea.l      A7, [A7 + 0x10]
  19. 00000034  6608                     bne        +0xA /* 0000003E */
  20. 00000036  91C8                     sub.l      A0, A0
  21. 00000038  5C4F                     addq.w     A7, 6
  22. 0000003A  261F                     move.l     D3, [A7]+
  23. 0000003C  4E75                     rts
  24. label0000003E:
  25. 0000003E  206F 0002                movea.l    A0, [A7 + 0x2]
  26. 00000042  4A90                     tst.l      [A0]
  27. 00000044  670A                     beq        +0xC /* 00000050 */
  28. 00000046  206F 0002                movea.l    A0, [A7 + 0x2]
  29. 0000004A  5C4F                     addq.w     A7, 6
  30. 0000004C  261F                     move.l     D3, [A7]+
  31. 0000004E  4E75                     rts
  32. label00000050:
  33. 00000050  2F03                     move.l     -[A7], D3
  34. 00000052  2F2F 0006                move.l     -[A7], [A7 + 0x6]
  35. 00000056  4EAD DB44                jsr        [A5 - 0x24BC]
  36. 0000005A  4EAD DB02                jsr        [A5 - 0x24FE]
  37. 0000005E  4A40                     tst.w      D0
  38. 00000060  504F                     addq.w     A7, 8
  39. 00000062  6708                     beq        +0xA /* 0000006C */
  40. 00000064  91C8                     sub.l      A0, A0
  41. 00000066  5C4F                     addq.w     A7, 6
  42. 00000068  261F                     move.l     D3, [A7]+
  43. 0000006A  4E75                     rts
  44. label0000006C:
  45. 0000006C  2F03                     move.l     -[A7], D3
  46. 0000006E  2F2F 0006                move.l     -[A7], [A7 + 0x6]
  47. 00000072  4EAD DB5C                jsr        [A5 - 0x24A4]
  48. 00000076  3F40 0008                move.w     [A7 + 0x8], D0
  49. 0000007A  4EAD DB02                jsr        [A5 - 0x24FE]
  50. 0000007E  4A40                     tst.w      D0
  51. 00000080  504F                     addq.w     A7, 8
  52. 00000082  6708                     beq        +0xA /* 0000008C */
  53. 00000084  91C8                     sub.l      A0, A0
  54. 00000086  5C4F                     addq.w     A7, 6
  55. 00000088  261F                     move.l     D3, [A7]+
  56. 0000008A  4E75                     rts
  57. label0000008C:
  58. 0000008C  3017                     move.w     D0, [A7]
  59. 0000008E  0280 0000 0080           andi.l     D0, 0x80
  60. 00000094  6722                     beq        +0x24 /* 000000B8 */
  61. 00000096  2F03                     move.l     -[A7], D3
  62. 00000098  486F 0006                pea.l      [A7 + 0x6]
  63. 0000009C  4EBA 0030                jsr        [PC + 0x30 /* 000000CE */]
  64. 000000A0  4EAD DB02                jsr        [A5 - 0x24FE]
  65. 000000A4  3600                     move.w     D3, D0
  66. 000000A6  504F                     addq.w     A7, 8
  67. 000000A8  670E                     beq        +0x10 /* 000000B8 */
  68. 000000AA  206F 0002                movea.l    A0, [A7 + 0x2]
  69. 000000AE  A02B                     syscall    EmptyHandle
  70. 000000B0  91C8                     sub.l      A0, A0
  71. 000000B2  5C4F                     addq.w     A7, 6
  72. 000000B4  261F                     move.l     D3, [A7]+
  73. 000000B6  4E75                     rts
  74. label000000B8:
  75. 000000B8  206F 0002                movea.l    A0, [A7 + 0x2]
  76. 000000BC  5C4F                     addq.w     A7, 6
  77. 000000BE  261F                     move.l     D3, [A7]+
  78. 000000C0  4E75                     rts
  79. 000000C2  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  80. 000000C6  4EAD DB56                jsr        [A5 - 0x24AA]
  81. 000000CA  584F                     addq.w     A7, 4
  82. 000000CC  4E75                     rts
  83. fn000000CE:
  84. 000000CE  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  85. 000000D2  594F                     subq.w     A7, 4
  86. 000000D4  266F 0020                movea.l    A3, [A7 + 0x20]
  87. 000000D8  262F 0024                move.l     D3, [A7 + 0x24]
  88. 000000DC  2053                     movea.l    A0, [A3]
  89. 000000DE  A029                     syscall    HLock
  90. 000000E0  2053                     movea.l    A0, [A3]
  91. 000000E2  2850                     movea.l    A4, [A0]
  92. 000000E4  594F                     subq.w     A7, 4
  93. 000000E6  2F13                     move.l     -[A7], [A3]
  94. 000000E8  4EAD D9AC                jsr        [A5 - 0x2654]
  95. 000000EC  201F                     move.l     D0, [A7]+
  96. 000000EE  5980                     subq.l     D0, 4
  97. 000000F0  2800                     move.l     D4, D0
  98. 000000F2  41F4 4800                lea.l      A0, [A4 + D4]
  99. 000000F6  43D7                     lea.l      A1, [A7]
  100. 000000F8  7004                     moveq.l    D0, 0x04
  101. 000000FA  A02E                     syscall    BlockMove/BlockMoveData
  102. 000000FC  486D 1436                pea.l      [A5 + 0x1436]
  103. 00000100  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  104. 00000104  4EBA 1BE6                jsr        [PC + 0x1BE6 /* 00001CEC */]
  105. 00000108  2448                     movea.l    A2, A0
  106. 0000010A  200A                     move.l     D0, A2
  107. 0000010C  504F                     addq.w     A7, 8
  108. 0000010E  6752                     beq        +0x54 /* 00000162 */
  109. 00000110  204A                     movea.l    A0, A2
  110. 00000112  A029                     syscall    HLock
  111. 00000114  2C52                     movea.l    A6, [A2]
  112. 00000116  702D                     moveq.l    D0, 0x2D
  113. 00000118  B680                     cmp.l      D3, D0
  114. 0000011A  6610                     bne        +0x12 /* 0000012C */
  115. 0000011C  2F04                     move.l     -[A7], D4
  116. 0000011E  2F0C                     move.l     -[A7], A4
  117. 00000120  2F0E                     move.l     -[A7], A6
  118. 00000122  4EBA 00EE                jsr        [PC + 0xEE /* 00000212 */]
  119. 00000126  4FEF 000C                lea.l      A7, [A7 + 0xC]
  120. 0000012A  6026                     bra        +0x28 /* 00000152 */
  121. label0000012C:
  122. 0000012C  7020                     moveq.l    D0, 0x20
  123. 0000012E  B680                     cmp.l      D3, D0
  124. 00000130  670C                     beq        +0xE /* 0000013E */
  125. 00000132  700B                     moveq.l    D0, 0x0B
  126. 00000134  B680                     cmp.l      D3, D0
  127. 00000136  6706                     beq        +0x8 /* 0000013E */
  128. 00000138  703D                     moveq.l    D0, 0x3D
  129. 0000013A  B680                     cmp.l      D3, D0
  130. 0000013C  6614                     bne        +0x16 /* 00000152 */
  131. label0000013E:
  132. 0000013E  2F04                     move.l     -[A7], D4
  133. 00000140  2F0C                     move.l     -[A7], A4
  134. 00000142  2F0E                     move.l     -[A7], A6
  135. 00000144  4EAD E930                jsr        [A5 - 0x16D0]
  136. 00000148  3B40 1436                move.w     [A5 + 0x1436], D0
  137. 0000014C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  138. 00000150  4E71                     nop
  139. label00000152:
  140. 00000152  204A                     movea.l    A0, A2
  141. 00000154  A02A                     syscall    HUnlock
  142. 00000156  4A6D 1436                tst.w      [A5 + 0x1436]
  143. 0000015A  6706                     beq        +0x8 /* 00000162 */
  144. 0000015C  204A                     movea.l    A0, A2
  145. 0000015E  A023                     syscall    DisposHandle/DisposeHandle
  146. 00000160  95CA                     sub.l      A2, A2
  147. label00000162:
  148. 00000162  2053                     movea.l    A0, [A3]
  149. 00000164  A02A                     syscall    HUnlock
  150. 00000166  200A                     move.l     D0, A2
  151. 00000168  6724                     beq        +0x26 /* 0000018E */
  152. 0000016A  4A6D 1436                tst.w      [A5 + 0x1436]
  153. 0000016E  661A                     bne        +0x1C /* 0000018A */
  154. 00000170  2F03                     move.l     -[A7], D3
  155. 00000172  2F0A                     move.l     -[A7], A2
  156. 00000174  2F13                     move.l     -[A7], [A3]
  157. 00000176  4EAD DB38                jsr        [A5 - 0x24C8]
  158. 0000017A  2053                     movea.l    A0, [A3]
  159. 0000017C  A023                     syscall    DisposHandle/DisposeHandle
  160. 0000017E  204A                     movea.l    A0, A2
  161. 00000180  A049                     syscall    HPurge
  162. 00000182  268A                     move.l     [A3], A2
  163. 00000184  4FEF 000C                lea.l      A7, [A7 + 0xC]
  164. 00000188  6004                     bra        +0x6 /* 0000018E */
  165. label0000018A:
  166. 0000018A  204A                     movea.l    A0, A2
  167. 0000018C  A023                     syscall    DisposHandle/DisposeHandle
  168. label0000018E:
  169. 0000018E  584F                     addq.w     A7, 4
  170. 00000190  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  171. 00000194  4E75                     rts
  172. fn00000196:
  173. 00000196  48E7 0018                movem.l    -[A7], A3,A4
  174. 0000019A  286F 000C                movea.l    A4, [A7 + 0xC]
  175. 0000019E  266F 0010                movea.l    A3, [A7 + 0x10]
  176. 000001A2  1413                     move.b     D2, [A3]
  177. 000001A4  1002                     move.b     D0, D2
  178. 000001A6  0280 0000 0080           andi.l     D0, 0x80
  179. 000001AC  6644                     bne        +0x46 /* 000001F2 */
  180. 000001AE  1002                     move.b     D0, D2
  181. 000001B0  7240                     moveq.l    D1, 0x40
  182. 000001B2  C081                     and.l      D0, D1
  183. 000001B4  6714                     beq        +0x16 /* 000001CA */
  184. 000001B6  70BF                     moveq.l    D0, 0xFFFFFFBF
  185. 000001B8  7200                     moveq.l    D1, 0x00
  186. 000001BA  1202                     move.b     D1, D2
  187. 000001BC  C280                     and.l      D1, D0
  188. 000001BE  2881                     move.l     [A4], D1
  189. 000001C0  204B                     movea.l    A0, A3
  190. 000001C2  5288                     addq.l     A0, 1
  191. 000001C4  4CDF 1800                movem.l    A3,A4, [A7]+
  192. 000001C8  4E75                     rts
  193. label000001CA:
  194. 000001CA  1002                     move.b     D0, D2
  195. 000001CC  7220                     moveq.l    D1, 0x20
  196. 000001CE  C081                     and.l      D0, D1
  197. 000001D0  6720                     beq        +0x22 /* 000001F2 */
  198. 000001D2  224C                     movea.l    A1, A4
  199. 000001D4  4251                     clr.w      [A1]
  200. 000001D6  70DF                     moveq.l    D0, 0xFFFFFFDF
  201. 000001D8  7200                     moveq.l    D1, 0x00
  202. 000001DA  1202                     move.b     D1, D2
  203. 000001DC  C280                     and.l      D1, D0
  204. 000001DE  1341 0002                move.b     [A1 + 0x2], D1
  205. 000001E2  136B 0001 0003           move.b     [A1 + 0x3], [A3 + 0x1]
  206. 000001E8  204B                     movea.l    A0, A3
  207. 000001EA  5488                     addq.l     A0, 2
  208. 000001EC  4CDF 1800                movem.l    A3,A4, [A7]+
  209. 000001F0  4E75                     rts
  210. label000001F2:
  211. 000001F2  224C                     movea.l    A1, A4
  212. 000001F4  1282                     move.b     [A1], D2
  213. 000001F6  136B 0001 0001           move.b     [A1 + 0x1], [A3 + 0x1]
  214. 000001FC  136B 0002 0002           move.b     [A1 + 0x2], [A3 + 0x2]
  215. 00000202  136B 0003 0003           move.b     [A1 + 0x3], [A3 + 0x3]
  216. 00000208  204B                     movea.l    A0, A3
  217. 0000020A  5888                     addq.l     A0, 4
  218. 0000020C  4CDF 1800                movem.l    A3,A4, [A7]+
  219. 00000210  4E75                     rts
  220. fn00000212:
  221. 00000212  48E7 003A                movem.l    -[A7], A2,A3,A4,A6
  222. 00000216  246F 0014                movea.l    A2, [A7 + 0x14]
  223. 0000021A  266F 0018                movea.l    A3, [A7 + 0x18]
  224. 0000021E  2C4B                     movea.l    A6, A3
  225. 00000220  DDEF 001C                add.l      A6, [A7 + 0x1C]
  226. 00000224  6000 00E6                bra        +0xE8 /* 0000030C */
  227. label00000228:
  228. 00000228  7000                     moveq.l    D0, 0x00
  229. 0000022A  101B                     move.b     D0, [A3]+
  230. 0000022C  3480                     move.w     [A2], D0
  231. 0000022E  2F0B                     move.l     -[A7], A3
  232. 00000230  486A 0006                pea.l      [A2 + 0x6]
  233. 00000234  4EBA FF60                jsr        [PC - 0xA0 /* 00000196 */]
  234. 00000238  2648                     movea.l    A3, A0
  235. 0000023A  0C52 0010                cmpi.w     [A2], 0x10
  236. 0000023E  504F                     addq.w     A7, 8
  237. 00000240  6700 00D0                beq        +0xD2 /* 00000312 */
  238. 00000244  0C52 000E                cmpi.w     [A2], 0xE
  239. 00000248  6700 008C                beq        +0x8E /* 000002D6 */
  240. 0000024C  0C52 0014                cmpi.w     [A2], 0x14
  241. 00000250  671E                     beq        +0x20 /* 00000270 */
  242. 00000252  0C52 0015                cmpi.w     [A2], 0x15
  243. 00000256  6718                     beq        +0x1A /* 00000270 */
  244. 00000258  0C52 0004                cmpi.w     [A2], 0x4
  245. 0000025C  6712                     beq        +0x14 /* 00000270 */
  246. 0000025E  0C52 000F                cmpi.w     [A2], 0xF
  247. 00000262  670C                     beq        +0xE /* 00000270 */
  248. 00000264  0C52 0011                cmpi.w     [A2], 0x11
  249. 00000268  6706                     beq        +0x8 /* 00000270 */
  250. 0000026A  0C52 0012                cmpi.w     [A2], 0x12
  251. 0000026E  660E                     bne        +0x10 /* 0000027E */
  252. label00000270:
  253. 00000270  2F0B                     move.l     -[A7], A3
  254. 00000272  486A 0002                pea.l      [A2 + 0x2]
  255. 00000276  4EBA FF1E                jsr        [PC - 0xE2 /* 00000196 */]
  256. 0000027A  2648                     movea.l    A3, A0
  257. 0000027C  504F                     addq.w     A7, 8
  258. label0000027E:
  259. 0000027E  4A52                     tst.w      [A2]
  260. 00000280  6718                     beq        +0x1A /* 0000029A */
  261. 00000282  0C52 0001                cmpi.w     [A2], 0x1
  262. 00000286  6712                     beq        +0x14 /* 0000029A */
  263. 00000288  0C52 0002                cmpi.w     [A2], 0x2
  264. 0000028C  670C                     beq        +0xE /* 0000029A */
  265. 0000028E  0C52 0003                cmpi.w     [A2], 0x3
  266. 00000292  6706                     beq        +0x8 /* 0000029A */
  267. 00000294  0C52 0004                cmpi.w     [A2], 0x4
  268. 00000298  661C                     bne        +0x1E /* 000002B6 */
  269. label0000029A:
  270. 0000029A  2F0B                     move.l     -[A7], A3
  271. 0000029C  486A 000A                pea.l      [A2 + 0xA]
  272. 000002A0  4EBA FEF4                jsr        [PC - 0x10C /* 00000196 */]
  273. 000002A4  2648                     movea.l    A3, A0
  274. 000002A6  2F0B                     move.l     -[A7], A3
  275. 000002A8  486A 000E                pea.l      [A2 + 0xE]
  276. 000002AC  4EBA FEE8                jsr        [PC - 0x118 /* 00000196 */]
  277. 000002B0  2648                     movea.l    A3, A0
  278. 000002B2  4FEF 0010                lea.l      A7, [A7 + 0x10]
  279. label000002B6:
  280. 000002B6  4A52                     tst.w      [A2]
  281. 000002B8  674E                     beq        +0x50 /* 00000308 */
  282. 000002BA  0C52 000D                cmpi.w     [A2], 0xD /* '\r' */
  283. 000002BE  6748                     beq        +0x4A /* 00000308 */
  284. 000002C0  0C52 0016                cmpi.w     [A2], 0x16
  285. 000002C4  6742                     beq        +0x44 /* 00000308 */
  286. 000002C6  2F0B                     move.l     -[A7], A3
  287. 000002C8  486A 0012                pea.l      [A2 + 0x12]
  288. 000002CC  4EBA FEC8                jsr        [PC - 0x138 /* 00000196 */]
  289. 000002D0  2648                     movea.l    A3, A0
  290. 000002D2  504F                     addq.w     A7, 8
  291. 000002D4  6032                     bra        +0x34 /* 00000308 */
  292. label000002D6:
  293. 000002D6  284A                     movea.l    A4, A2
  294. 000002D8  204B                     movea.l    A0, A3
  295. 000002DA  43EC 0002                lea.l      A1, [A4 + 0x2]
  296. 000002DE  7008                     moveq.l    D0, 0x08
  297. 000002E0  A02E                     syscall    BlockMove/BlockMoveData
  298. 000002E2  508B                     addq.l     A3, 8
  299. 000002E4  7000                     moveq.l    D0, 0x00
  300. 000002E6  101B                     move.b     D0, [A3]+
  301. 000002E8  3940 0012                move.w     [A4 + 0x12], D0
  302. 000002EC  2F0B                     move.l     -[A7], A3
  303. 000002EE  486C 000A                pea.l      [A4 + 0xA]
  304. 000002F2  4EBA FEA2                jsr        [PC - 0x15E /* 00000196 */]
  305. 000002F6  2648                     movea.l    A3, A0
  306. 000002F8  2F0B                     move.l     -[A7], A3
  307. 000002FA  486C 000E                pea.l      [A4 + 0xE]
  308. 000002FE  4EBA FE96                jsr        [PC - 0x16A /* 00000196 */]
  309. 00000302  2648                     movea.l    A3, A0
  310. 00000304  4FEF 0010                lea.l      A7, [A7 + 0x10]
  311. label00000308:
  312. 00000308  7016                     moveq.l    D0, 0x16
  313. 0000030A  D5C0                     add.l      A2, D0
  314. label0000030C:
  315. 0000030C  B7CE                     cmpa.l     A3, A6
  316. 0000030E  6500 FF18                bcs        -0xE6 /* 00000228 */
  317. label00000312:
  318. 00000312  4CDF 5C00                movem.l    A2,A3,A4,A6, [A7]+
  319. 00000316  4E75                     rts
  320. 00000318  4AAD AD06                tst.l      [A5 - 0x52FA]
  321. 0000031C  670E                     beq        +0x10 /* 0000032C */
  322. 0000031E  206D AD06                movea.l    A0, [A5 - 0x52FA]
  323. 00000322  A023                     syscall    DisposHandle/DisposeHandle
  324. 00000324  42AD AD06                clr.l      [A5 - 0x52FA]
  325. 00000328  42AD AD0E                clr.l      [A5 - 0x52F2]
  326. label0000032C:
  327. 0000032C  4AAD ACFA                tst.l      [A5 - 0x5306]
  328. 00000330  670E                     beq        +0x10 /* 00000340 */
  329. 00000332  206D ACFA                movea.l    A0, [A5 - 0x5306]
  330. 00000336  A023                     syscall    DisposHandle/DisposeHandle
  331. 00000338  42AD ACFA                clr.l      [A5 - 0x5306]
  332. 0000033C  42AD AD02                clr.l      [A5 - 0x52FE]
  333. label00000340:
  334. 00000340  4AAD ACD4                tst.l      [A5 - 0x532C]
  335. 00000344  6738                     beq        +0x3A /* 0000037E */
  336. 00000346  202D ACD0                move.l     D0, [A5 - 0x5330]
  337. 0000034A  7218                     moveq.l    D1, 0x18
  338. 0000034C  4EAD D8F8                jsr        [A5 - 0x2708]
  339. 00000350  206D ACD4                movea.l    A0, [A5 - 0x532C]
  340. 00000354  A024                     syscall    SetHandleSize
  341. 00000356  42A7                     clr.l      -[A7]
  342. 00000358  3F3C 0001                move.w     -[A7], 0x1
  343. 0000035C  4878 0018                push.l     0x18
  344. 00000360  2F2D ACD4                move.l     -[A7], [A5 - 0x532C]
  345. 00000364  4EBA 1502                jsr        [PC + 0x1502 /* 00001868 */]
  346. 00000368  206D ACD4                movea.l    A0, [A5 - 0x532C]
  347. 0000036C  A023                     syscall    DisposHandle/DisposeHandle
  348. 0000036E  42AD ACD4                clr.l      [A5 - 0x532C]
  349. 00000372  42AD ACCC                clr.l      [A5 - 0x5334]
  350. 00000376  42AD ACD0                clr.l      [A5 - 0x5330]
  351. 0000037A  4FEF 000E                lea.l      A7, [A7 + 0xE]
  352. label0000037E:
  353. 0000037E  4AAD ACF6                tst.l      [A5 - 0x530A]
  354. 00000382  670A                     beq        +0xC /* 0000038E */
  355. 00000384  206D ACF6                movea.l    A0, [A5 - 0x530A]
  356. 00000388  A023                     syscall    DisposHandle/DisposeHandle
  357. 0000038A  42AD ACF6                clr.l      [A5 - 0x530A]
  358. label0000038E:
  359. 0000038E  4AAD ACC8                tst.l      [A5 - 0x5338]
  360. 00000392  670E                     beq        +0x10 /* 000003A2 */
  361. 00000394  206D ACC8                movea.l    A0, [A5 - 0x5338]
  362. 00000398  A023                     syscall    DisposHandle/DisposeHandle
  363. 0000039A  42AD ACC8                clr.l      [A5 - 0x5338]
  364. 0000039E  42AD ACC4                clr.l      [A5 - 0x533C]
  365. label000003A2:
  366. 000003A2  4E75                     rts
  367. 000003A4  48E7 1E38                movem.l    -[A7], D3,D4,D5,D6,A2,A3,A4
  368. 000003A8  3C2F 0020                move.w     D6, [A7 + 0x20]
  369. 000003AC  282F 0022                move.l     D4, [A7 + 0x22]
  370. 000003B0  246F 0026                movea.l    A2, [A7 + 0x26]
  371. 000003B4  286F 002A                movea.l    A4, [A7 + 0x2A]
  372. 000003B8  266F 0032                movea.l    A3, [A7 + 0x32]
  373. 000003BC  4EAD DB08                jsr        [A5 - 0x24F8]
  374. 000003C0  3A00                     move.w     D5, D0
  375. 000003C2  3F06                     move.w     -[A7], D6
  376. 000003C4  4EAD DB0E                jsr        [A5 - 0x24F2]
  377. 000003C8  200C                     move.l     D0, A4
  378. 000003CA  544F                     addq.w     A7, 2
  379. 000003CC  6702                     beq        +0x4 /* 000003D0 */
  380. 000003CE  4294                     clr.l      [A4]
  381. label000003D0:
  382. 000003D0  4A84                     tst.l      D4
  383. 000003D2  6D00 00E2                blt        +0xE4 /* 000004B6 */
  384. 000003D6  200B                     move.l     D0, A3
  385. 000003D8  6700 009C                beq        +0x9E /* 00000476 */
  386. 000003DC  42A7                     clr.l      -[A7]
  387. 000003DE  4EAD DB14                jsr        [A5 - 0x24EC]
  388. 000003E2  2F04                     move.l     -[A7], D4
  389. 000003E4  4878 0021                push.l     0x21 /* '!' */
  390. 000003E8  4EAD DB26                jsr        [A5 - 0x24DA]
  391. 000003EC  2488                     move.l     [A2], A0
  392. 000003EE  4EAD DB02                jsr        [A5 - 0x24FE]
  393. 000003F2  3600                     move.w     D3, D0
  394. 000003F4  4878 0001                push.l     0x1
  395. 000003F8  4EAD DB14                jsr        [A5 - 0x24EC]
  396. 000003FC  4A43                     tst.w      D3
  397. 000003FE  4FEF 0010                lea.l      A7, [A7 + 0x10]
  398. 00000402  6600 00CC                bne        +0xCE /* 000004D0 */
  399. 00000406  2052                     movea.l    A0, [A2]
  400. 00000408  4A90                     tst.l      [A0]
  401. 0000040A  6720                     beq        +0x22 /* 0000042C */
  402. 0000040C  2052                     movea.l    A0, [A2]
  403. 0000040E  2050                     movea.l    A0, [A0]
  404. 00000410  26A8 0002                move.l     [A3], [A0 + 0x2]
  405. 00000414  2768 0006 0004           move.l     [A3 + 0x4], [A0 + 0x6]
  406. 0000041A  4292                     clr.l      [A2]
  407. 0000041C  3F05                     move.w     -[A7], D5
  408. 0000041E  4EAD DB0E                jsr        [A5 - 0x24F2]
  409. 00000422  7000                     moveq.l    D0, 0x00
  410. 00000424  544F                     addq.w     A7, 2
  411. 00000426  4CDF 1C78                movem.l    D3,D4,D5,D6,A2,A3,A4, [A7]+
  412. 0000042A  4E75                     rts
  413. label0000042C:
  414. 0000042C  4878 000A                push.l     0xA /* '\n' */
  415. 00000430  42A7                     clr.l      -[A7]
  416. 00000432  4878 0021                push.l     0x21 /* '!' */
  417. 00000436  2F12                     move.l     -[A7], [A2]
  418. 00000438  4EAD DB3E                jsr        [A5 - 0x24C2]
  419. 0000043C  4EAD DB02                jsr        [A5 - 0x24FE]
  420. 00000440  3600                     move.w     D3, D0
  421. 00000442  4FEF 0010                lea.l      A7, [A7 + 0x10]
  422. 00000446  6600 0088                bne        +0x8A /* 000004D0 */
  423. 0000044A  2052                     movea.l    A0, [A2]
  424. 0000044C  2050                     movea.l    A0, [A0]
  425. 0000044E  26A8 0002                move.l     [A3], [A0 + 0x2]
  426. 00000452  2768 0006 0004           move.l     [A3 + 0x4], [A0 + 0x6]
  427. 00000458  4878 0021                push.l     0x21 /* '!' */
  428. 0000045C  2F12                     move.l     -[A7], [A2]
  429. 0000045E  4EAD DB32                jsr        [A5 - 0x24CE]
  430. 00000462  4292                     clr.l      [A2]
  431. 00000464  3F05                     move.w     -[A7], D5
  432. 00000466  4EAD DB0E                jsr        [A5 - 0x24F2]
  433. 0000046A  7000                     moveq.l    D0, 0x00
  434. 0000046C  4FEF 000A                lea.l      A7, [A7 + 0xA]
  435. 00000470  4CDF 1C78                movem.l    D3,D4,D5,D6,A2,A3,A4, [A7]+
  436. 00000474  4E75                     rts
  437. label00000476:
  438. 00000476  2F04                     move.l     -[A7], D4
  439. 00000478  4878 0021                push.l     0x21 /* '!' */
  440. 0000047C  4EAD DB26                jsr        [A5 - 0x24DA]
  441. 00000480  2488                     move.l     [A2], A0
  442. 00000482  4EAD DB02                jsr        [A5 - 0x24FE]
  443. 00000486  3600                     move.w     D3, D0
  444. 00000488  4A43                     tst.w      D3
  445. 0000048A  504F                     addq.w     A7, 8
  446. 0000048C  6642                     bne        +0x44 /* 000004D0 */
  447. 0000048E  200C                     move.l     D0, A4
  448. 00000490  673E                     beq        +0x40 /* 000004D0 */
  449. 00000492  4A92                     tst.l      [A2]
  450. 00000494  673A                     beq        +0x3C /* 000004D0 */
  451. 00000496  2052                     movea.l    A0, [A2]
  452. 00000498  A069                     syscall    HGetState
  453. 0000049A  1C00                     move.b     D6, D0
  454. 0000049C  2052                     movea.l    A0, [A2]
  455. 0000049E  A04A                     syscall    HNoPurge
  456. 000004A0  2F04                     move.l     -[A7], D4
  457. 000004A2  4878 000D                push.l     0xD /* '\r' */
  458. 000004A6  4EAD DB26                jsr        [A5 - 0x24DA]
  459. 000004AA  2888                     move.l     [A4], A0
  460. 000004AC  2052                     movea.l    A0, [A2]
  461. 000004AE  1006                     move.b     D0, D6
  462. 000004B0  A06A                     syscall    HSetState
  463. 000004B2  504F                     addq.w     A7, 8
  464. 000004B4  601A                     bra        +0x1C /* 000004D0 */
  465. label000004B6:
  466. 000004B6  2F2F 002E                move.l     -[A7], [A7 + 0x2E]
  467. 000004BA  2F0C                     move.l     -[A7], A4
  468. 000004BC  2F0A                     move.l     -[A7], A2
  469. 000004BE  2004                     move.l     D0, D4
  470. 000004C0  4480                     neg.l      D0
  471. 000004C2  2F00                     move.l     -[A7], D0
  472. 000004C4  3F06                     move.w     -[A7], D6
  473. 000004C6  4EAD E738                jsr        [A5 - 0x18C8]
  474. 000004CA  3600                     move.w     D3, D0
  475. 000004CC  4FEF 0012                lea.l      A7, [A7 + 0x12]
  476. label000004D0:
  477. 000004D0  3F05                     move.w     -[A7], D5
  478. 000004D2  4EAD DB0E                jsr        [A5 - 0x24F2]
  479. 000004D6  0C43 FF94                cmpi.w     D3, 0xFF94
  480. 000004DA  544F                     addq.w     A7, 2
  481. 000004DC  662C                     bne        +0x2E /* 0000050A */
  482. 000004DE  594F                     subq.w     A7, 4
  483. 000004E0  302D 135E                move.w     D0, [A5 + 0x135E]
  484. 000004E4  48C0                     ext.l      D0
  485. 000004E6  0680 0000 0088           addi.l     D0, 0x88
  486. 000004EC  3F00                     move.w     -[A7], D0
  487. 000004EE  A9BC                     syscall    GetPicture
  488. 000004F0  205F                     movea.l    A0, [A7]+
  489. 000004F2  2488                     move.l     [A2], A0
  490. 000004F4  554F                     subq.w     A7, 2
  491. 000004F6  A9AF                     syscall    ResError
  492. 000004F8  301F                     move.w     D0, [A7]+
  493. 000004FA  3600                     move.w     D3, D0
  494. 000004FC  6708                     beq        +0xA /* 00000506 */
  495. 000004FE  3003                     move.w     D0, D3
  496. 00000500  4CDF 1C78                movem.l    D3,D4,D5,D6,A2,A3,A4, [A7]+
  497. 00000504  4E75                     rts
  498. label00000506:
  499. 00000506  2052                     movea.l    A0, [A2]
  500. 00000508  A04A                     syscall    HNoPurge
  501. label0000050A:
  502. 0000050A  200B                     move.l     D0, A3
  503. 0000050C  6712                     beq        +0x14 /* 00000520 */
  504. 0000050E  4A92                     tst.l      [A2]
  505. 00000510  670E                     beq        +0x10 /* 00000520 */
  506. 00000512  2052                     movea.l    A0, [A2]
  507. 00000514  2050                     movea.l    A0, [A0]
  508. 00000516  26A8 0002                move.l     [A3], [A0 + 0x2]
  509. 0000051A  2768 0006 0004           move.l     [A3 + 0x4], [A0 + 0x6]
  510. label00000520:
  511. 00000520  3003                     move.w     D0, D3
  512. 00000522  4CDF 1C78                movem.l    D3,D4,D5,D6,A2,A3,A4, [A7]+
  513. 00000526  4E75                     rts
  514. 00000528  48E7 1020                movem.l    -[A7], D3,A2
  515. 0000052C  262F 000C                move.l     D3, [A7 + 0xC]
  516. 00000530  594F                     subq.w     A7, 4
  517. 00000532  2EB8 09D6                move.l     [A7], [0x000009D6 /* WindowList */]
  518. 00000536  205F                     movea.l    A0, [A7]+
  519. 00000538  2448                     movea.l    A2, A0
  520. 0000053A  6022                     bra        +0x24 /* 0000055E */
  521. label0000053C:
  522. 0000053C  554F                     subq.w     A7, 2
  523. 0000053E  2F0A                     move.l     -[A7], A2
  524. 00000540  206D 1356                movea.l    A0, [A5 + 0x1356]
  525. 00000544  4E90                     jsr        [A0]
  526. 00000546  301F                     move.w     D0, [A7]+
  527. 00000548  6710                     beq        +0x12 /* 0000055A */
  528. 0000054A  2003                     move.l     D0, D3
  529. 0000054C  5383                     subq.l     D3, 1
  530. 0000054E  4A80                     tst.l      D0
  531. 00000550  6608                     bne        +0xA /* 0000055A */
  532. 00000552  204A                     movea.l    A0, A2
  533. 00000554  4CDF 0408                movem.l    D3,A2, [A7]+
  534. 00000558  4E75                     rts
  535. label0000055A:
  536. 0000055A  246A 0090                movea.l    A2, [A2 + 0x90]
  537. label0000055E:
  538. 0000055E  200A                     move.l     D0, A2
  539. 00000560  66DA                     bne        -0x24 /* 0000053C */
  540. 00000562  91C8                     sub.l      A0, A0
  541. 00000564  4CDF 0408                movem.l    D3,A2, [A7]+
  542. 00000568  4E75                     rts
  543. 0000056A  4AAD 12FE                tst.l      [A5 + 0x12FE]
  544. 0000056E  6628                     bne        +0x2A /* 00000598 */
  545. 00000570  594F                     subq.w     A7, 4
  546. 00000572  2F3C 5744 4546           move.l     -[A7], 0x57444546 /* 'WDEF' */
  547. 00000578  3F3C 0081                move.w     -[A7], 0x81
  548. 0000057C  A9A0                     syscall    GetResource
  549. 0000057E  205F                     movea.l    A0, [A7]+
  550. 00000580  2B48 12FE                move.l     [A5 + 0x12FE], A0
  551. 00000584  594F                     subq.w     A7, 4
  552. 00000586  2F3C 5744 4546           move.l     -[A7], 0x57444546 /* 'WDEF' */
  553. 0000058C  3F3C 0081                move.w     -[A7], 0x81
  554. 00000590  A9A0                     syscall    GetResource
  555. 00000592  205F                     movea.l    A0, [A7]+
  556. 00000594  2B48 1302                move.l     [A5 + 0x1302 /* export_604 */], A0
  557. label00000598:
  558. 00000598  206F 0004                movea.l    A0, [A7 + 0x4]
  559. 0000059C  2068 007E                movea.l    A0, [A0 + 0x7E]
  560. 000005A0  B1ED 12FE                cmpa.l     A0, [A5 + 0x12FE]
  561. 000005A4  6712                     beq        +0x14 /* 000005B8 */
  562. 000005A6  206F 0004                movea.l    A0, [A7 + 0x4]
  563. 000005AA  2068 007E                movea.l    A0, [A0 + 0x7E]
  564. 000005AE  B1ED 1302                cmpa.l     A0, [A5 + 0x1302 /* export_604 */]
  565. 000005B2  6704                     beq        +0x6 /* 000005B8 */
  566. 000005B4  7000                     moveq.l    D0, 0x00
  567. 000005B6  6002                     bra        +0x4 /* 000005BA */
  568. label000005B8:
  569. 000005B8  7001                     moveq.l    D0, 0x01
  570. label000005BA:
  571. 000005BA  3F40 0008                move.w     [A7 + 0x8], D0
  572. 000005BE  2E9F                     move.l     [A7], [A7]+
  573. 000005C0  4E75                     rts
  574. fn000005C2:
  575. 000005C2  202D 12FA                move.l     D0, [A5 + 0x12FA /* export_603 */]
  576. 000005C6  4E75                     rts
  577. 000005C8  302D 12F8                move.w     D0, [A5 + 0x12F8]
  578. 000005CC  4E75                     rts
  579. 000005CE  48E7 0030                movem.l    -[A7], A2,A3
  580. 000005D2  4AAD 12FA                tst.l      [A5 + 0x12FA /* export_603 */]
  581. 000005D6  6644                     bne        +0x46 /* 0000061C */
  582. 000005D8  554F                     subq.w     A7, 2
  583. 000005DA  3EB8 0BAA                move.w     [A7], [0x00000BAA /* MBarHeight */]
  584. 000005DE  301F                     move.w     D0, [A7]+
  585. 000005E0  3B40 12F8                move.w     [A5 + 0x12F8], D0
  586. 000005E4  4EBA 0086                jsr        [PC + 0x86 /* 0000066C */]
  587. 000005E8  2448                     movea.l    A2, A0
  588. 000005EA  2008                     move.l     D0, A0
  589. 000005EC  672E                     beq        +0x30 /* 0000061C */
  590. 000005EE  4267                     clr.w      -[A7]
  591. 000005F0  31DF 0BAA                move.w     [0x00000BAA /* MBarHeight */], [A7]+
  592. 000005F4  594F                     subq.w     A7, 4
  593. 000005F6  2EB8 09EE                move.l     [A7], [0x000009EE /* GrayRgn */]
  594. 000005FA  205F                     movea.l    A0, [A7]+
  595. 000005FC  2648                     movea.l    A3, A0
  596. 000005FE  2008                     move.l     D0, A0
  597. 00000600  6710                     beq        +0x12 /* 00000612 */
  598. 00000602  2F0A                     move.l     -[A7], A2
  599. 00000604  2F0B                     move.l     -[A7], A3
  600. 00000606  2F0B                     move.l     -[A7], A3
  601. 00000608  A8E5                     syscall    UnionRgn
  602. 0000060A  2F0A                     move.l     -[A7], A2
  603. 0000060C  4EBA 00A8                jsr        [PC + 0xA8 /* 000006B6 */]
  604. 00000610  584F                     addq.w     A7, 4
  605. label00000612:
  606. 00000612  2F0A                     move.l     -[A7], A2
  607. 00000614  A8D9                     syscall    DisposRgn/DisposeRgn
  608. 00000616  7001                     moveq.l    D0, 0x01
  609. 00000618  2B40 12FA                move.l     [A5 + 0x12FA /* export_603 */], D0
  610. label0000061C:
  611. 0000061C  4CDF 0C00                movem.l    A2,A3, [A7]+
  612. 00000620  4E75                     rts
  613. fn00000622:
  614. 00000622  48E7 0030                movem.l    -[A7], A2,A3
  615. 00000626  4AAD 12FA                tst.l      [A5 + 0x12FA /* export_603 */]
  616. 0000062A  673A                     beq        +0x3C /* 00000666 */
  617. 0000062C  4EBA 003E                jsr        [PC + 0x3E /* 0000066C */]
  618. 00000630  2448                     movea.l    A2, A0
  619. 00000632  2008                     move.l     D0, A0
  620. 00000634  6730                     beq        +0x32 /* 00000666 */
  621. 00000636  3F2D 12F8                move.w     -[A7], [A5 + 0x12F8]
  622. 0000063A  31DF 0BAA                move.w     [0x00000BAA /* MBarHeight */], [A7]+
  623. 0000063E  594F                     subq.w     A7, 4
  624. 00000640  2EB8 09EE                move.l     [A7], [0x000009EE /* GrayRgn */]
  625. 00000644  205F                     movea.l    A0, [A7]+
  626. 00000646  2648                     movea.l    A3, A0
  627. 00000648  2008                     move.l     D0, A0
  628. 0000064A  6710                     beq        +0x12 /* 0000065C */
  629. 0000064C  2F0B                     move.l     -[A7], A3
  630. 0000064E  2F0A                     move.l     -[A7], A2
  631. 00000650  2F0B                     move.l     -[A7], A3
  632. 00000652  A8E6                     syscall    DiffRgn
  633. 00000654  2F0A                     move.l     -[A7], A2
  634. 00000656  4EBA 005E                jsr        [PC + 0x5E /* 000006B6 */]
  635. 0000065A  584F                     addq.w     A7, 4
  636. label0000065C:
  637. 0000065C  A937                     syscall    DrawMenuBar
  638. 0000065E  2F0A                     move.l     -[A7], A2
  639. 00000660  A8D9                     syscall    DisposRgn/DisposeRgn
  640. 00000662  42AD 12FA                clr.l      [A5 + 0x12FA /* export_603 */]
  641. label00000666:
  642. 00000666  4CDF 0C00                movem.l    A2,A3, [A7]+
  643. 0000066A  4E75                     rts
  644. fn0000066C:
  645. 0000066C  2F0A                     move.l     -[A7], A2
  646. 0000066E  514F                     subq.w     A7, 8
  647. 00000670  594F                     subq.w     A7, 4
  648. 00000672  A8D8                     syscall    NewRgn
  649. 00000674  205F                     movea.l    A0, [A7]+
  650. 00000676  2448                     movea.l    A2, A0
  651. 00000678  2008                     move.l     D0, A0
  652. 0000067A  6608                     bne        +0xA /* 00000684 */
  653. 0000067C  91C8                     sub.l      A0, A0
  654. 0000067E  504F                     addq.w     A7, 8
  655. 00000680  245F                     movea.l    A2, [A7]+
  656. 00000682  4E75                     rts
  657. label00000684:
  658. 00000684  3EAD 1584                move.w     [A7], [A5 + 0x1584]
  659. 00000688  3F6D 1586 0002           move.w     [A7 + 0x2], [A5 + 0x1586]
  660. 0000068E  302D 12F8                move.w     D0, [A5 + 0x12F8]
  661. 00000692  48C0                     ext.l      D0
  662. 00000694  322D 1584                move.w     D1, [A5 + 0x1584]
  663. 00000698  48C1                     ext.l      D1
  664. 0000069A  D280                     add.l      D1, D0
  665. 0000069C  3F41 0004                move.w     [A7 + 0x4], D1
  666. 000006A0  3F6D 158A 0006           move.w     [A7 + 0x6], [A5 + 0x158A /* export_685 */]
  667. 000006A6  2F0A                     move.l     -[A7], A2
  668. 000006A8  486F 0004                pea.l      [A7 + 0x4]
  669. 000006AC  A8DF                     syscall    RectRgn
  670. 000006AE  204A                     movea.l    A0, A2
  671. 000006B0  504F                     addq.w     A7, 8
  672. 000006B2  245F                     movea.l    A2, [A7]+
  673. 000006B4  4E75                     rts
  674. fn000006B6:
  675. 000006B6  48E7 0030                movem.l    -[A7], A2,A3
  676. 000006BA  266F 000C                movea.l    A3, [A7 + 0xC]
  677. 000006BE  594F                     subq.w     A7, 4
  678. 000006C0  A924                     syscall    FrontWindow
  679. 000006C2  205F                     movea.l    A0, [A7]+
  680. 000006C4  2448                     movea.l    A2, A0
  681. 000006C6  200A                     move.l     D0, A2
  682. 000006C8  6716                     beq        +0x18 /* 000006E0 */
  683. 000006CA  2F0A                     move.l     -[A7], A2
  684. 000006CC  2F0B                     move.l     -[A7], A3
  685. 000006CE  A90C                     syscall    PaintOne
  686. 000006D0  2F0A                     move.l     -[A7], A2
  687. 000006D2  2F0B                     move.l     -[A7], A3
  688. 000006D4  A90D                     syscall    PaintBehind
  689. 000006D6  2F0A                     move.l     -[A7], A2
  690. 000006D8  A909                     syscall    CalcVis
  691. 000006DA  2F0A                     move.l     -[A7], A2
  692. 000006DC  2F0B                     move.l     -[A7], A3
  693. 000006DE  A90A                     syscall    CalcVBehind
  694. label000006E0:
  695. 000006E0  4CDF 0C00                movem.l    A2,A3, [A7]+
  696. 000006E4  4E75                     rts
  697. 000006E6  4FEF FFF6                lea.l      A7, [A7 - 0xA]
  698. 000006EA  2EAF 0010                move.l     [A7], [A7 + 0x10]
  699. 000006EE  302F 000E                move.w     D0, [A7 + 0xE]
  700. 000006F2  48C0                     ext.l      D0
  701. 000006F4  2F40 0004                move.l     [A7 + 0x4], D0
  702. 000006F8  554F                     subq.w     A7, 2
  703. 000006FA  302D 135E                move.w     D0, [A5 + 0x135E]
  704. 000006FE  48C0                     ext.l      D0
  705. 00000700  0680 0000 0092           addi.l     D0, 0x92
  706. 00000706  3F00                     move.w     -[A7], D0
  707. 00000708  486D DCB0                pea.l      [A5 - 0x2350]
  708. 0000070C  42A7                     clr.l      -[A7]
  709. 0000070E  486F 000C                pea.l      [A7 + 0xC]
  710. 00000712  42A7                     clr.l      -[A7]
  711. 00000714  4EBA 2006                jsr        [PC + 0x2006 /* 0000271C */]
  712. 00000718  301F                     move.w     D0, [A7]+
  713. 0000071A  3F40 0014                move.w     [A7 + 0x14], D0
  714. 0000071E  4FEF 000A                lea.l      A7, [A7 + 0xA]
  715. 00000722  205F                     movea.l    A0, [A7]+
  716. 00000724  5C4F                     addq.w     A7, 6
  717. 00000726  4ED0                     jmp        [A0]
  718. 00000728  48E7 0030                movem.l    -[A7], A2,A3
  719. 0000072C  266F 000C                movea.l    A3, [A7 + 0xC]
  720. 00000730  594F                     subq.w     A7, 4
  721. 00000732  2F0B                     move.l     -[A7], A3
  722. 00000734  A917                     syscall    GetWRefCon
  723. 00000736  201F                     move.l     D0, [A7]+
  724. 00000738  2440                     movea.l    A2, D0
  725. 0000073A  2F0B                     move.l     -[A7], A3
  726. 0000073C  42A7                     clr.l      -[A7]
  727. 0000073E  A918                     syscall    SetWRefCon
  728. 00000740  4A92                     tst.l      [A2]
  729. 00000742  6712                     beq        +0x14 /* 00000756 */
  730. 00000744  3F3C 0005                move.w     -[A7], 0x5
  731. 00000748  2F0B                     move.l     -[A7], A3
  732. 0000074A  4EBA 0F32                jsr        [PC + 0xF32 /* 0000167E */]
  733. 0000074E  5C4F                     addq.w     A7, 6
  734. 00000750  2F08                     move.l     -[A7], A0
  735. 00000752  2F12                     move.l     -[A7], [A2]
  736. 00000754  A98F                     syscall    SetDialogItemText/SetIText
  737. label00000756:
  738. 00000756  4AAA 0004                tst.l      [A2 + 0x4]
  739. 0000075A  6616                     bne        +0x18 /* 00000772 */
  740. 0000075C  3F3C 0002                move.w     -[A7], 0x2
  741. 00000760  2F0B                     move.l     -[A7], A3
  742. 00000762  4EBA 0F1A                jsr        [PC + 0xF1A /* 0000167E */]
  743. 00000766  2448                     movea.l    A2, A0
  744. 00000768  200A                     move.l     D0, A2
  745. 0000076A  5C4F                     addq.w     A7, 6
  746. 0000076C  6704                     beq        +0x6 /* 00000772 */
  747. 0000076E  2F0A                     move.l     -[A7], A2
  748. 00000770  A958                     syscall    HideControl
  749. label00000772:
  750. 00000772  4CDF 0C00                movem.l    A2,A3, [A7]+
  751. 00000776  2E9F                     move.l     [A7], [A7]+
  752. 00000778  4E75                     rts
  753. 0000077A  2B6F 0004 AB2C           move.l     [A5 - 0x54D4], [A7 + 0x4]
  754. 00000780  4E75                     rts
  755. 00000782  4878 0001                push.l     0x1
  756. 00000786  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  757. 0000078A  4EBA 029A                jsr        [PC + 0x29A /* 00000A26 */]
  758. 0000078E  2008                     move.l     D0, A0
  759. 00000790  56C0                     sne        D0
  760. 00000792  4400                     neg.b      D0
  761. 00000794  4880                     ext.w      D0
  762. 00000796  48C0                     ext.l      D0
  763. 00000798  504F                     addq.w     A7, 8
  764. 0000079A  4E75                     rts
  765. 0000079C  2F0A                     move.l     -[A7], A2
  766. 0000079E  42A7                     clr.l      -[A7]
  767. 000007A0  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  768. 000007A4  4EBA 0280                jsr        [PC + 0x280 /* 00000A26 */]
  769. 000007A8  2448                     movea.l    A2, A0
  770. 000007AA  2008                     move.l     D0, A0
  771. 000007AC  504F                     addq.w     A7, 8
  772. 000007AE  6708                     beq        +0xA /* 000007B8 */
  773. 000007B0  2F0A                     move.l     -[A7], A2
  774. 000007B2  4EBA 04B2                jsr        [PC + 0x4B2 /* 00000C66 */]
  775. 000007B6  584F                     addq.w     A7, 4
  776. label000007B8:
  777. 000007B8  245F                     movea.l    A2, [A7]+
  778. 000007BA  4E75                     rts
  779. 000007BC  2B6F 0004 AB28           move.l     [A5 - 0x54D8], [A7 + 0x4]
  780. 000007C2  2B6F 0008 AB24           move.l     [A5 - 0x54DC], [A7 + 0x8]
  781. 000007C8  4E75                     rts
  782. 000007CA  48E7 0030                movem.l    -[A7], A2,A3
  783. 000007CE  5D4F                     subq.w     A7, 6
  784. 000007D0  246F 0012                movea.l    A2, [A7 + 0x12]
  785. 000007D4  4EBA 0A9E                jsr        [PC + 0xA9E /* 00001274 */]
  786. 000007D8  3F2A 0002                move.w     -[A7], [A2 + 0x2]
  787. 000007DC  3F12                     move.w     -[A7], [A2]
  788. 000007DE  A893                     syscall    MoveTo
  789. 000007E0  3F2A 0002                move.w     -[A7], [A2 + 0x2]
  790. 000007E4  302A 0004                move.w     D0, [A2 + 0x4]
  791. 000007E8  48C0                     ext.l      D0
  792. 000007EA  5580                     subq.l     D0, 2
  793. 000007EC  3F00                     move.w     -[A7], D0
  794. 000007EE  A891                     syscall    LineTo
  795. 000007F0  302A 0006                move.w     D0, [A2 + 0x6]
  796. 000007F4  48C0                     ext.l      D0
  797. 000007F6  5180                     subq.l     D0, 8
  798. 000007F8  3F00                     move.w     -[A7], D0
  799. 000007FA  302A 0004                move.w     D0, [A2 + 0x4]
  800. 000007FE  48C0                     ext.l      D0
  801. 00000800  5580                     subq.l     D0, 2
  802. 00000802  3F00                     move.w     -[A7], D0
  803. 00000804  A891                     syscall    LineTo
  804. 00000806  302A 0006                move.w     D0, [A2 + 0x6]
  805. 0000080A  48C0                     ext.l      D0
  806. 0000080C  5580                     subq.l     D0, 2
  807. 0000080E  3F00                     move.w     -[A7], D0
  808. 00000810  302A 0004                move.w     D0, [A2 + 0x4]
  809. 00000814  48C0                     ext.l      D0
  810. 00000816  5180                     subq.l     D0, 8
  811. 00000818  3F00                     move.w     -[A7], D0
  812. 0000081A  A891                     syscall    LineTo
  813. 0000081C  302A 0006                move.w     D0, [A2 + 0x6]
  814. 00000820  48C0                     ext.l      D0
  815. 00000822  5580                     subq.l     D0, 2
  816. 00000824  3F00                     move.w     -[A7], D0
  817. 00000826  3F12                     move.w     -[A7], [A2]
  818. 00000828  A891                     syscall    LineTo
  819. 0000082A  3F2A 0002                move.w     -[A7], [A2 + 0x2]
  820. 0000082E  3F12                     move.w     -[A7], [A2]
  821. 00000830  A891                     syscall    LineTo
  822. 00000832  302A 0002                move.w     D0, [A2 + 0x2]
  823. 00000836  48C0                     ext.l      D0
  824. 00000838  5480                     addq.l     D0, 2
  825. 0000083A  3F00                     move.w     -[A7], D0
  826. 0000083C  302A 0004                move.w     D0, [A2 + 0x4]
  827. 00000840  48C0                     ext.l      D0
  828. 00000842  5380                     subq.l     D0, 1
  829. 00000844  3F00                     move.w     -[A7], D0
  830. 00000846  A893                     syscall    MoveTo
  831. 00000848  302A 0006                move.w     D0, [A2 + 0x6]
  832. 0000084C  48C0                     ext.l      D0
  833. 0000084E  5180                     subq.l     D0, 8
  834. 00000850  3F00                     move.w     -[A7], D0
  835. 00000852  302A 0004                move.w     D0, [A2 + 0x4]
  836. 00000856  48C0                     ext.l      D0
  837. 00000858  5380                     subq.l     D0, 1
  838. 0000085A  3F00                     move.w     -[A7], D0
  839. 0000085C  A891                     syscall    LineTo
  840. 0000085E  302A 0006                move.w     D0, [A2 + 0x6]
  841. 00000862  48C0                     ext.l      D0
  842. 00000864  5380                     subq.l     D0, 1
  843. 00000866  3F00                     move.w     -[A7], D0
  844. 00000868  302A 0004                move.w     D0, [A2 + 0x4]
  845. 0000086C  48C0                     ext.l      D0
  846. 0000086E  5180                     subq.l     D0, 8
  847. 00000870  3F00                     move.w     -[A7], D0
  848. 00000872  A891                     syscall    LineTo
  849. 00000874  302A 0006                move.w     D0, [A2 + 0x6]
  850. 00000878  48C0                     ext.l      D0
  851. 0000087A  5380                     subq.l     D0, 1
  852. 0000087C  3F00                     move.w     -[A7], D0
  853. 0000087E  3012                     move.w     D0, [A2]
  854. 00000880  48C0                     ext.l      D0
  855. 00000882  5480                     addq.l     D0, 2
  856. 00000884  3F00                     move.w     -[A7], D0
  857. 00000886  A891                     syscall    LineTo
  858. 00000888  302A 0006                move.w     D0, [A2 + 0x6]
  859. 0000088C  48C0                     ext.l      D0
  860. 0000088E  5180                     subq.l     D0, 8
  861. 00000890  3F00                     move.w     -[A7], D0
  862. 00000892  302A 0004                move.w     D0, [A2 + 0x4]
  863. 00000896  48C0                     ext.l      D0
  864. 00000898  5580                     subq.l     D0, 2
  865. 0000089A  3F00                     move.w     -[A7], D0
  866. 0000089C  A893                     syscall    MoveTo
  867. 0000089E  302A 0006                move.w     D0, [A2 + 0x6]
  868. 000008A2  48C0                     ext.l      D0
  869. 000008A4  5180                     subq.l     D0, 8
  870. 000008A6  3F00                     move.w     -[A7], D0
  871. 000008A8  302A 0004                move.w     D0, [A2 + 0x4]
  872. 000008AC  48C0                     ext.l      D0
  873. 000008AE  5180                     subq.l     D0, 8
  874. 000008B0  3F00                     move.w     -[A7], D0
  875. 000008B2  A891                     syscall    LineTo
  876. 000008B4  302A 0006                move.w     D0, [A2 + 0x6]
  877. 000008B8  48C0                     ext.l      D0
  878. 000008BA  5580                     subq.l     D0, 2
  879. 000008BC  3F00                     move.w     -[A7], D0
  880. 000008BE  302A 0004                move.w     D0, [A2 + 0x4]
  881. 000008C2  48C0                     ext.l      D0
  882. 000008C4  5180                     subq.l     D0, 8
  883. 000008C6  3F00                     move.w     -[A7], D0
  884. 000008C8  A891                     syscall    LineTo
  885. 000008CA  594F                     subq.w     A7, 4
  886. 000008CC  A8CB                     syscall    OpenPoly
  887. 000008CE  205F                     movea.l    A0, [A7]+
  888. 000008D0  2648                     movea.l    A3, A0
  889. 000008D2  200B                     move.l     D0, A3
  890. 000008D4  6700 0144                beq        +0x146 /* 00000A1A */
  891. 000008D8  302A 0002                move.w     D0, [A2 + 0x2]
  892. 000008DC  48C0                     ext.l      D0
  893. 000008DE  5280                     addq.l     D0, 1
  894. 000008E0  3F00                     move.w     -[A7], D0
  895. 000008E2  3012                     move.w     D0, [A2]
  896. 000008E4  48C0                     ext.l      D0
  897. 000008E6  5280                     addq.l     D0, 1
  898. 000008E8  3F00                     move.w     -[A7], D0
  899. 000008EA  A893                     syscall    MoveTo
  900. 000008EC  302A 0002                move.w     D0, [A2 + 0x2]
  901. 000008F0  48C0                     ext.l      D0
  902. 000008F2  5280                     addq.l     D0, 1
  903. 000008F4  3F00                     move.w     -[A7], D0
  904. 000008F6  302A 0004                move.w     D0, [A2 + 0x4]
  905. 000008FA  48C0                     ext.l      D0
  906. 000008FC  5580                     subq.l     D0, 2
  907. 000008FE  3F00                     move.w     -[A7], D0
  908. 00000900  A891                     syscall    LineTo
  909. 00000902  302A 0006                move.w     D0, [A2 + 0x6]
  910. 00000906  48C0                     ext.l      D0
  911. 00000908  5180                     subq.l     D0, 8
  912. 0000090A  3F00                     move.w     -[A7], D0
  913. 0000090C  302A 0004                move.w     D0, [A2 + 0x4]
  914. 00000910  48C0                     ext.l      D0
  915. 00000912  5580                     subq.l     D0, 2
  916. 00000914  3F00                     move.w     -[A7], D0
  917. 00000916  A891                     syscall    LineTo
  918. 00000918  302A 0006                move.w     D0, [A2 + 0x6]
  919. 0000091C  48C0                     ext.l      D0
  920. 0000091E  5180                     subq.l     D0, 8
  921. 00000920  3F00                     move.w     -[A7], D0
  922. 00000922  302A 0004                move.w     D0, [A2 + 0x4]
  923. 00000926  48C0                     ext.l      D0
  924. 00000928  5180                     subq.l     D0, 8
  925. 0000092A  3F00                     move.w     -[A7], D0
  926. 0000092C  A891                     syscall    LineTo
  927. 0000092E  302A 0006                move.w     D0, [A2 + 0x6]
  928. 00000932  48C0                     ext.l      D0
  929. 00000934  5580                     subq.l     D0, 2
  930. 00000936  3F00                     move.w     -[A7], D0
  931. 00000938  302A 0004                move.w     D0, [A2 + 0x4]
  932. 0000093C  48C0                     ext.l      D0
  933. 0000093E  5180                     subq.l     D0, 8
  934. 00000940  3F00                     move.w     -[A7], D0
  935. 00000942  A891                     syscall    LineTo
  936. 00000944  302A 0006                move.w     D0, [A2 + 0x6]
  937. 00000948  48C0                     ext.l      D0
  938. 0000094A  5580                     subq.l     D0, 2
  939. 0000094C  3F00                     move.w     -[A7], D0
  940. 0000094E  3012                     move.w     D0, [A2]
  941. 00000950  48C0                     ext.l      D0
  942. 00000952  5280                     addq.l     D0, 1
  943. 00000954  3F00                     move.w     -[A7], D0
  944. 00000956  A891                     syscall    LineTo
  945. 00000958  302A 0002                move.w     D0, [A2 + 0x2]
  946. 0000095C  48C0                     ext.l      D0
  947. 0000095E  5280                     addq.l     D0, 1
  948. 00000960  3F00                     move.w     -[A7], D0
  949. 00000962  3012                     move.w     D0, [A2]
  950. 00000964  48C0                     ext.l      D0
  951. 00000966  5280                     addq.l     D0, 1
  952. 00000968  3F00                     move.w     -[A7], D0
  953. 0000096A  A891                     syscall    LineTo
  954. 0000096C  A8CC                     syscall    ClosePoly/ClosePgon
  955. 0000096E  7000                     moveq.l    D0, 0x00
  956. 00000970  102D 81A0                move.b     D0, [A5 - 0x7E60]
  957. 00000974  7202                     moveq.l    D1, 0x02
  958. 00000976  B081                     cmp.l      D0, D1
  959. 00000978  6D14                     blt        +0x16 /* 0000098E */
  960. 0000097A  3EBC FFFF                move.w     [A7], 0xFFFF
  961. 0000097E  3F7C FFFF 0002           move.w     [A7 + 0x2], 0xFFFF
  962. 00000984  3F7C 7800 0004           move.w     [A7 + 0x4], 0x7800 /* 'x\0' */
  963. 0000098A  4857                     pea.l      [A7]
  964. 0000098C  AA15                     syscall    RGBBackColor
  965. label0000098E:
  966. 0000098E  2F0B                     move.l     -[A7], A3
  967. 00000990  A8C8                     syscall    ErasePoly
  968. 00000992  2F0B                     move.l     -[A7], A3
  969. 00000994  A8CD                     syscall    KillPoly
  970. 00000996  594F                     subq.w     A7, 4
  971. 00000998  A8CB                     syscall    OpenPoly
  972. 0000099A  205F                     movea.l    A0, [A7]+
  973. 0000099C  2648                     movea.l    A3, A0
  974. 0000099E  200B                     move.l     D0, A3
  975. 000009A0  6778                     beq        +0x7A /* 00000A1A */
  976. 000009A2  302A 0006                move.w     D0, [A2 + 0x6]
  977. 000009A6  48C0                     ext.l      D0
  978. 000009A8  5F80                     subq.l     D0, 7
  979. 000009AA  3F00                     move.w     -[A7], D0
  980. 000009AC  302A 0004                move.w     D0, [A2 + 0x4]
  981. 000009B0  48C0                     ext.l      D0
  982. 000009B2  5780                     subq.l     D0, 3
  983. 000009B4  3F00                     move.w     -[A7], D0
  984. 000009B6  A893                     syscall    MoveTo
  985. 000009B8  302A 0006                move.w     D0, [A2 + 0x6]
  986. 000009BC  48C0                     ext.l      D0
  987. 000009BE  5F80                     subq.l     D0, 7
  988. 000009C0  3F00                     move.w     -[A7], D0
  989. 000009C2  302A 0004                move.w     D0, [A2 + 0x4]
  990. 000009C6  48C0                     ext.l      D0
  991. 000009C8  5F80                     subq.l     D0, 7
  992. 000009CA  3F00                     move.w     -[A7], D0
  993. 000009CC  A891                     syscall    LineTo
  994. 000009CE  302A 0006                move.w     D0, [A2 + 0x6]
  995. 000009D2  48C0                     ext.l      D0
  996. 000009D4  5780                     subq.l     D0, 3
  997. 000009D6  3F00                     move.w     -[A7], D0
  998. 000009D8  302A 0004                move.w     D0, [A2 + 0x4]
  999. 000009DC  48C0                     ext.l      D0
  1000. 000009DE  5F80                     subq.l     D0, 7
  1001. 000009E0  3F00                     move.w     -[A7], D0
  1002. 000009E2  A891                     syscall    LineTo
  1003. 000009E4  302A 0006                move.w     D0, [A2 + 0x6]
  1004. 000009E8  48C0                     ext.l      D0
  1005. 000009EA  5F80                     subq.l     D0, 7
  1006. 000009EC  3F00                     move.w     -[A7], D0
  1007. 000009EE  302A 0004                move.w     D0, [A2 + 0x4]
  1008. 000009F2  48C0                     ext.l      D0
  1009. 000009F4  5780                     subq.l     D0, 3
  1010. 000009F6  3F00                     move.w     -[A7], D0
  1011. 000009F8  A891                     syscall    LineTo
  1012. 000009FA  A8CC                     syscall    ClosePoly/ClosePgon
  1013. 000009FC  7000                     moveq.l    D0, 0x00
  1014. 000009FE  102D 81A0                move.b     D0, [A5 - 0x7E60]
  1015. 00000A02  7202                     moveq.l    D1, 0x02
  1016. 00000A04  B081                     cmp.l      D0, D1
  1017. 00000A06  6D0A                     blt        +0xC /* 00000A12 */
  1018. 00000A08  3F7C CC00 0004           move.w     [A7 + 0x4], 0xCC00
  1019. 00000A0E  4857                     pea.l      [A7]
  1020. 00000A10  AA15                     syscall    RGBBackColor
  1021. label00000A12:
  1022. 00000A12  2F0B                     move.l     -[A7], A3
  1023. 00000A14  A8C8                     syscall    ErasePoly
  1024. 00000A16  2F0B                     move.l     -[A7], A3
  1025. 00000A18  A8CD                     syscall    KillPoly
  1026. label00000A1A:
  1027. 00000A1A  4EBA 08DA                jsr        [PC + 0x8DA /* 000012F6 */]
  1028. 00000A1E  5C4F                     addq.w     A7, 6
  1029. 00000A20  4CDF 0C00                movem.l    A2,A3, [A7]+
  1030. 00000A24  4E75                     rts
  1031. fn00000A26:
  1032. 00000A26  48E7 0038                movem.l    -[A7], A2,A3,A4
  1033. 00000A2A  286F 0010                movea.l    A4, [A7 + 0x10]
  1034. 00000A2E  246D AB20                movea.l    A2, [A5 - 0x54E0]
  1035. 00000A32  6012                     bra        +0x14 /* 00000A46 */
  1036. label00000A34:
  1037. 00000A34  2652                     movea.l    A3, [A2]
  1038. 00000A36  B9D3                     cmpa.l     A4, [A3]
  1039. 00000A38  6608                     bne        +0xA /* 00000A42 */
  1040. 00000A3A  204A                     movea.l    A0, A2
  1041. 00000A3C  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  1042. 00000A40  4E75                     rts
  1043. label00000A42:
  1044. 00000A42  246B 000C                movea.l    A2, [A3 + 0xC]
  1045. label00000A46:
  1046. 00000A46  200A                     move.l     D0, A2
  1047. 00000A48  66EA                     bne        -0x14 /* 00000A34 */
  1048. 00000A4A  4AAF 0014                tst.l      [A7 + 0x14]
  1049. 00000A4E  673A                     beq        +0x3C /* 00000A8A */
  1050. 00000A50  7018                     moveq.l    D0, 0x18
  1051. 00000A52  A322                     syscall    NewHandleClear, flags=3
  1052. 00000A54  2448                     movea.l    A2, A0
  1053. 00000A56  2008                     move.l     D0, A0
  1054. 00000A58  6608                     bne        +0xA /* 00000A62 */
  1055. 00000A5A  91C8                     sub.l      A0, A0
  1056. 00000A5C  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  1057. 00000A60  4E75                     rts
  1058. label00000A62:
  1059. 00000A62  2652                     movea.l    A3, [A2]
  1060. 00000A64  268C                     move.l     [A3], A4
  1061. 00000A66  276D AB1C 0010           move.l     [A3 + 0x10], [A5 - 0x54E4]
  1062. 00000A6C  4AAD AB20                tst.l      [A5 - 0x54E0]
  1063. 00000A70  6604                     bne        +0x6 /* 00000A76 */
  1064. 00000A72  2B4A AB20                move.l     [A5 - 0x54E0], A2
  1065. label00000A76:
  1066. 00000A76  4AAD AB1C                tst.l      [A5 - 0x54E4]
  1067. 00000A7A  670A                     beq        +0xC /* 00000A86 */
  1068. 00000A7C  206D AB1C                movea.l    A0, [A5 - 0x54E4]
  1069. 00000A80  2050                     movea.l    A0, [A0]
  1070. 00000A82  214A 000C                move.l     [A0 + 0xC], A2
  1071. label00000A86:
  1072. 00000A86  2B4A AB1C                move.l     [A5 - 0x54E4], A2
  1073. label00000A8A:
  1074. 00000A8A  204A                     movea.l    A0, A2
  1075. 00000A8C  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  1076. 00000A90  4E75                     rts
  1077. 00000A92  48E7 0030                movem.l    -[A7], A2,A3
  1078. 00000A96  266F 000C                movea.l    A3, [A7 + 0xC]
  1079. 00000A9A  594F                     subq.w     A7, 4
  1080. 00000A9C  A8D8                     syscall    NewRgn
  1081. 00000A9E  205F                     movea.l    A0, [A7]+
  1082. 00000AA0  2448                     movea.l    A2, A0
  1083. 00000AA2  2008                     move.l     D0, A0
  1084. 00000AA4  6608                     bne        +0xA /* 00000AAE */
  1085. 00000AA6  91C8                     sub.l      A0, A0
  1086. 00000AA8  4CDF 0C00                movem.l    A2,A3, [A7]+
  1087. 00000AAC  4E75                     rts
  1088. label00000AAE:
  1089. 00000AAE  A8DA                     syscall    OpenRgn
  1090. 00000AB0  3F2B 0002                move.w     -[A7], [A3 + 0x2]
  1091. 00000AB4  3F13                     move.w     -[A7], [A3]
  1092. 00000AB6  A893                     syscall    MoveTo
  1093. 00000AB8  3F2B 0002                move.w     -[A7], [A3 + 0x2]
  1094. 00000ABC  302B 0004                move.w     D0, [A3 + 0x4]
  1095. 00000AC0  48C0                     ext.l      D0
  1096. 00000AC2  5380                     subq.l     D0, 1
  1097. 00000AC4  3F00                     move.w     -[A7], D0
  1098. 00000AC6  A891                     syscall    LineTo
  1099. 00000AC8  302B 0002                move.w     D0, [A3 + 0x2]
  1100. 00000ACC  48C0                     ext.l      D0
  1101. 00000ACE  5280                     addq.l     D0, 1
  1102. 00000AD0  3F00                     move.w     -[A7], D0
  1103. 00000AD2  302B 0004                move.w     D0, [A3 + 0x4]
  1104. 00000AD6  48C0                     ext.l      D0
  1105. 00000AD8  5380                     subq.l     D0, 1
  1106. 00000ADA  3F00                     move.w     -[A7], D0
  1107. 00000ADC  A891                     syscall    LineTo
  1108. 00000ADE  302B 0002                move.w     D0, [A3 + 0x2]
  1109. 00000AE2  48C0                     ext.l      D0
  1110. 00000AE4  5280                     addq.l     D0, 1
  1111. 00000AE6  3F00                     move.w     -[A7], D0
  1112. 00000AE8  3F2B 0004                move.w     -[A7], [A3 + 0x4]
  1113. 00000AEC  A891                     syscall    LineTo
  1114. 00000AEE  302B 0006                move.w     D0, [A3 + 0x6]
  1115. 00000AF2  48C0                     ext.l      D0
  1116. 00000AF4  5F80                     subq.l     D0, 7
  1117. 00000AF6  3F00                     move.w     -[A7], D0
  1118. 00000AF8  3F2B 0004                move.w     -[A7], [A3 + 0x4]
  1119. 00000AFC  A891                     syscall    LineTo
  1120. 00000AFE  3F2B 0006                move.w     -[A7], [A3 + 0x6]
  1121. 00000B02  302B 0004                move.w     D0, [A3 + 0x4]
  1122. 00000B06  48C0                     ext.l      D0
  1123. 00000B08  5F80                     subq.l     D0, 7
  1124. 00000B0A  3F00                     move.w     -[A7], D0
  1125. 00000B0C  A891                     syscall    LineTo
  1126. 00000B0E  3F2B 0006                move.w     -[A7], [A3 + 0x6]
  1127. 00000B12  3013                     move.w     D0, [A3]
  1128. 00000B14  48C0                     ext.l      D0
  1129. 00000B16  5480                     addq.l     D0, 2
  1130. 00000B18  3F00                     move.w     -[A7], D0
  1131. 00000B1A  A891                     syscall    LineTo
  1132. 00000B1C  3F2B 0006                move.w     -[A7], [A3 + 0x6]
  1133. 00000B20  3013                     move.w     D0, [A3]
  1134. 00000B22  48C0                     ext.l      D0
  1135. 00000B24  5280                     addq.l     D0, 1
  1136. 00000B26  3F00                     move.w     -[A7], D0
  1137. 00000B28  A891                     syscall    LineTo
  1138. 00000B2A  3F2B 0006                move.w     -[A7], [A3 + 0x6]
  1139. 00000B2E  3F13                     move.w     -[A7], [A3]
  1140. 00000B30  A891                     syscall    LineTo
  1141. 00000B32  3F2B 0002                move.w     -[A7], [A3 + 0x2]
  1142. 00000B36  3F13                     move.w     -[A7], [A3]
  1143. 00000B38  A891                     syscall    LineTo
  1144. 00000B3A  2F0A                     move.l     -[A7], A2
  1145. 00000B3C  A8DB                     syscall    CloseRgn
  1146. 00000B3E  204A                     movea.l    A0, A2
  1147. 00000B40  4CDF 0C00                movem.l    A2,A3, [A7]+
  1148. 00000B44  4E75                     rts
  1149. 00000B46  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  1150. 00000B4A  594F                     subq.w     A7, 4
  1151. 00000B4C  382F 001C                move.w     D4, [A7 + 0x1C]
  1152. 00000B50  362F 001E                move.w     D3, [A7 + 0x1E]
  1153. 00000B54  4A44                     tst.w      D4
  1154. 00000B56  6604                     bne        +0x6 /* 00000B5C */
  1155. 00000B58  4A43                     tst.w      D3
  1156. 00000B5A  6752                     beq        +0x54 /* 00000BAE */
  1157. label00000B5C:
  1158. 00000B5C  42A7                     clr.l      -[A7]
  1159. 00000B5E  486F 0004                pea.l      [A7 + 0x4]
  1160. 00000B62  2F2F 0020                move.l     -[A7], [A7 + 0x20]
  1161. 00000B66  4EBA 004E                jsr        [PC + 0x4E /* 00000BB6 */]
  1162. 00000B6A  2648                     movea.l    A3, A0
  1163. 00000B6C  2008                     move.l     D0, A0
  1164. 00000B6E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1165. 00000B72  6736                     beq        +0x38 /* 00000BAA */
  1166. 00000B74  2453                     movea.l    A2, [A3]
  1167. 00000B76  D96A 0014                add.w      [A2 + 0x14], D4
  1168. 00000B7A  D76A 0016                add.w      [A2 + 0x16], D3
  1169. 00000B7E  602A                     bra        +0x2C /* 00000BAA */
  1170. label00000B80:
  1171. 00000B80  2F17                     move.l     -[A7], [A7]
  1172. 00000B82  4EBA 07EE                jsr        [PC + 0x7EE /* 00001372 */]
  1173. 00000B86  2448                     movea.l    A2, A0
  1174. 00000B88  2F0A                     move.l     -[A7], A2
  1175. 00000B8A  3F04                     move.w     -[A7], D4
  1176. 00000B8C  3F03                     move.w     -[A7], D3
  1177. 00000B8E  A8A8                     syscall    OffsetRect
  1178. 00000B90  2F0A                     move.l     -[A7], A2
  1179. 00000B92  4EBA 006C                jsr        [PC + 0x6C /* 00000C00 */]
  1180. 00000B96  266A 0008                movea.l    A3, [A2 + 0x8]
  1181. 00000B9A  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  1182. 00000B9E  4EBA 0808                jsr        [PC + 0x808 /* 000013A8 */]
  1183. 00000BA2  2F4B 000C                move.l     [A7 + 0xC], A3
  1184. 00000BA6  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1185. label00000BAA:
  1186. 00000BAA  4A97                     tst.l      [A7]
  1187. 00000BAC  66D2                     bne        -0x2C /* 00000B80 */
  1188. label00000BAE:
  1189. 00000BAE  584F                     addq.w     A7, 4
  1190. 00000BB0  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  1191. 00000BB4  4E75                     rts
  1192. fn00000BB6:
  1193. 00000BB6  48E7 041A                movem.l    -[A7], D5,A3,A4,A6
  1194. 00000BBA  222F 0014                move.l     D1, [A7 + 0x14]
  1195. 00000BBE  2A2F 0018                move.l     D5, [A7 + 0x18]
  1196. 00000BC2  242F 001C                move.l     D2, [A7 + 0x1C]
  1197. 00000BC6  266D AB20                movea.l    A3, [A5 - 0x54E0]
  1198. 00000BCA  99CC                     sub.l      A4, A4
  1199. 00000BCC  9DCE                     sub.l      A6, A6
  1200. 00000BCE  6014                     bra        +0x16 /* 00000BE4 */
  1201. label00000BD0:
  1202. 00000BD0  2253                     movea.l    A1, [A3]
  1203. 00000BD2  B291                     cmp.l      D1, [A1]
  1204. 00000BD4  660A                     bne        +0xC /* 00000BE0 */
  1205. 00000BD6  2869 0004                movea.l    A4, [A1 + 0x4]
  1206. 00000BDA  2C69 0008                movea.l    A6, [A1 + 0x8]
  1207. 00000BDE  6008                     bra        +0xA /* 00000BE8 */
  1208. label00000BE0:
  1209. 00000BE0  2669 000C                movea.l    A3, [A1 + 0xC]
  1210. label00000BE4:
  1211. 00000BE4  200B                     move.l     D0, A3
  1212. 00000BE6  66E8                     bne        -0x16 /* 00000BD0 */
  1213. label00000BE8:
  1214. 00000BE8  4A85                     tst.l      D5
  1215. 00000BEA  6704                     beq        +0x6 /* 00000BF0 */
  1216. 00000BEC  2045                     movea.l    A0, D5
  1217. 00000BEE  208C                     move.l     [A0], A4
  1218. label00000BF0:
  1219. 00000BF0  4A82                     tst.l      D2
  1220. 00000BF2  6704                     beq        +0x6 /* 00000BF8 */
  1221. 00000BF4  2042                     movea.l    A0, D2
  1222. 00000BF6  208E                     move.l     [A0], A6
  1223. label00000BF8:
  1224. 00000BF8  204B                     movea.l    A0, A3
  1225. 00000BFA  4CDF 5820                movem.l    D5,A3,A4,A6, [A7]+
  1226. 00000BFE  4E75                     rts
  1227. fn00000C00:
  1228. 00000C00  48E7 0030                movem.l    -[A7], A2,A3
  1229. 00000C04  266F 000C                movea.l    A3, [A7 + 0xC]
  1230. 00000C08  206B 0018                movea.l    A0, [A3 + 0x18]
  1231. 00000C0C  2450                     movea.l    A2, [A0]
  1232. 00000C0E  486A 0008                pea.l      [A2 + 0x8]
  1233. 00000C12  2F0B                     move.l     -[A7], A3
  1234. 00000C14  4EBA 001A                jsr        [PC + 0x1A /* 00000C30 */]
  1235. 00000C18  24AA 0008                move.l     [A2], [A2 + 0x8]
  1236. 00000C1C  256A 000C 0004           move.l     [A2 + 0x4], [A2 + 0xC]
  1237. 00000C22  2F2B 0018                move.l     -[A7], [A3 + 0x18]
  1238. 00000C26  A9D0                     syscall    TECalText
  1239. 00000C28  504F                     addq.w     A7, 8
  1240. 00000C2A  4CDF 0C00                movem.l    A2,A3, [A7]+
  1241. 00000C2E  4E75                     rts
  1242. fn00000C30:
  1243. 00000C30  226F 0004                movea.l    A1, [A7 + 0x4]
  1244. 00000C34  206F 0008                movea.l    A0, [A7 + 0x8]
  1245. 00000C38  3029 0002                move.w     D0, [A1 + 0x2]
  1246. 00000C3C  48C0                     ext.l      D0
  1247. 00000C3E  5A80                     addq.l     D0, 5
  1248. 00000C40  3140 0002                move.w     [A0 + 0x2], D0
  1249. 00000C44  3011                     move.w     D0, [A1]
  1250. 00000C46  48C0                     ext.l      D0
  1251. 00000C48  5E80                     addq.l     D0, 7
  1252. 00000C4A  3080                     move.w     [A0], D0
  1253. 00000C4C  3029 0006                move.w     D0, [A1 + 0x6]
  1254. 00000C50  48C0                     ext.l      D0
  1255. 00000C52  5F80                     subq.l     D0, 7
  1256. 00000C54  3140 0006                move.w     [A0 + 0x6], D0
  1257. 00000C58  3029 0004                move.w     D0, [A1 + 0x4]
  1258. 00000C5C  48C0                     ext.l      D0
  1259. 00000C5E  5180                     subq.l     D0, 8
  1260. 00000C60  3140 0004                move.w     [A0 + 0x4], D0
  1261. 00000C64  4E75                     rts
  1262. fn00000C66:
  1263. 00000C66  48E7 0030                movem.l    -[A7], A2,A3
  1264. 00000C6A  266F 000C                movea.l    A3, [A7 + 0xC]
  1265. 00000C6E  2453                     movea.l    A2, [A3]
  1266. 00000C70  B7ED AB20                cmpa.l     A3, [A5 - 0x54E0]
  1267. 00000C74  6706                     beq        +0x8 /* 00000C7C */
  1268. 00000C76  B7ED AB1C                cmpa.l     A3, [A5 - 0x54E4]
  1269. 00000C7A  6632                     bne        +0x34 /* 00000CAE */
  1270. label00000C7C:
  1271. 00000C7C  B7ED AB20                cmpa.l     A3, [A5 - 0x54E0]
  1272. 00000C80  6612                     bne        +0x14 /* 00000C94 */
  1273. 00000C82  2B6A 000C AB20           move.l     [A5 - 0x54E0], [A2 + 0xC]
  1274. 00000C88  670A                     beq        +0xC /* 00000C94 */
  1275. 00000C8A  206D AB20                movea.l    A0, [A5 - 0x54E0]
  1276. 00000C8E  2050                     movea.l    A0, [A0]
  1277. 00000C90  42A8 0010                clr.l      [A0 + 0x10]
  1278. label00000C94:
  1279. 00000C94  B7ED AB1C                cmpa.l     A3, [A5 - 0x54E4]
  1280. 00000C98  6638                     bne        +0x3A /* 00000CD2 */
  1281. 00000C9A  2B6A 0010 AB1C           move.l     [A5 - 0x54E4], [A2 + 0x10]
  1282. 00000CA0  6730                     beq        +0x32 /* 00000CD2 */
  1283. 00000CA2  206A 0010                movea.l    A0, [A2 + 0x10]
  1284. 00000CA6  2050                     movea.l    A0, [A0]
  1285. 00000CA8  42A8 000C                clr.l      [A0 + 0xC]
  1286. 00000CAC  6024                     bra        +0x26 /* 00000CD2 */
  1287. label00000CAE:
  1288. 00000CAE  4AAA 0010                tst.l      [A2 + 0x10]
  1289. 00000CB2  670C                     beq        +0xE /* 00000CC0 */
  1290. 00000CB4  206A 0010                movea.l    A0, [A2 + 0x10]
  1291. 00000CB8  2050                     movea.l    A0, [A0]
  1292. 00000CBA  216A 000C 000C           move.l     [A0 + 0xC], [A2 + 0xC]
  1293. label00000CC0:
  1294. 00000CC0  4AAA 000C                tst.l      [A2 + 0xC]
  1295. 00000CC4  670C                     beq        +0xE /* 00000CD2 */
  1296. 00000CC6  206A 000C                movea.l    A0, [A2 + 0xC]
  1297. 00000CCA  2050                     movea.l    A0, [A0]
  1298. 00000CCC  216A 0010 0010           move.l     [A0 + 0x10], [A2 + 0x10]
  1299. label00000CD2:
  1300. 00000CD2  204B                     movea.l    A0, A3
  1301. 00000CD4  A023                     syscall    DisposHandle/DisposeHandle
  1302. 00000CD6  4CDF 0C00                movem.l    A2,A3, [A7]+
  1303. 00000CDA  4E75                     rts
  1304. 00000CDC  594F                     subq.w     A7, 4
  1305. 00000CDE  554F                     subq.w     A7, 2
  1306. 00000CE0  2F3C 7164 2020           move.l     -[A7], 0x71642020 /* 'qd  ' */
  1307. 00000CE6  486F 0006                pea.l      [A7 + 0x6]
  1308. 00000CEA  4EAD DA66                jsr        [A5 - 0x259A]
  1309. 00000CEE  301F                     move.w     D0, [A7]+
  1310. 00000CF0  6626                     bne        +0x28 /* 00000D18 */
  1311. 00000CF2  2017                     move.l     D0, [A7]
  1312. 00000CF4  670A                     beq        +0xC /* 00000D00 */
  1313. 00000CF6  0480 0000 0100           subi.l     D0, 0x100
  1314. 00000CFC  670A                     beq        +0xC /* 00000D08 */
  1315. 00000CFE  6010                     bra        +0x12 /* 00000D10 */
  1316. label00000D00:
  1317. 00000D00  1B7C 0001 81A0           move.b     [A5 - 0x7E60], 0x1
  1318. 00000D06  6016                     bra        +0x18 /* 00000D1E */
  1319. label00000D08:
  1320. 00000D08  1B7C 0002 81A0           move.b     [A5 - 0x7E60], 0x2
  1321. 00000D0E  600E                     bra        +0x10 /* 00000D1E */
  1322. label00000D10:
  1323. 00000D10  1B7C 0003 81A0           move.b     [A5 - 0x7E60], 0x3
  1324. 00000D16  6006                     bra        +0x8 /* 00000D1E */
  1325. label00000D18:
  1326. 00000D18  1B7C 0001 81A0           move.b     [A5 - 0x7E60], 0x1
  1327. label00000D1E:
  1328. 00000D1E  7000                     moveq.l    D0, 0x00
  1329. 00000D20  102D 81A0                move.b     D0, [A5 - 0x7E60]
  1330. 00000D24  584F                     addq.w     A7, 4
  1331. 00000D26  4E75                     rts
  1332. 00000D28  206F 0008                movea.l    A0, [A7 + 0x8]
  1333. 00000D2C  226F 0004                movea.l    A1, [A7 + 0x4]
  1334. 00000D30  22D8                     move.l     [A1]+, [A0]+
  1335. 00000D32  22D8                     move.l     [A1]+, [A0]+
  1336. 00000D34  4A6F 000C                tst.w      [A7 + 0xC]
  1337. 00000D38  670A                     beq        +0xC /* 00000D44 */
  1338. 00000D3A  4EAD E0B0                jsr        [A5 - 0x1F50]
  1339. 00000D3E  206F 0004                movea.l    A0, [A7 + 0x4]
  1340. 00000D42  D150                     add.w      [A0], D0
  1341. label00000D44:
  1342. 00000D44  4E75                     rts
  1343. fn00000D46:
  1344. 00000D46  48E7 1030                movem.l    -[A7], D3,A2,A3
  1345. 00000D4A  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  1346. 00000D4E  246F 0020                movea.l    A2, [A7 + 0x20]
  1347. 00000D52  266F 0024                movea.l    A3, [A7 + 0x24]
  1348. 00000D56  362F 0028                move.w     D3, [A7 + 0x28]
  1349. 00000D5A  4857                     pea.l      [A7]
  1350. 00000D5C  2F0B                     move.l     -[A7], A3
  1351. 00000D5E  4EBA 009C                jsr        [PC + 0x9C /* 00000DFC */]
  1352. 00000D62  2F6B 0010 0010           move.l     [A7 + 0x10], [A3 + 0x10]
  1353. 00000D68  2F6B 0014 0014           move.l     [A7 + 0x14], [A3 + 0x14]
  1354. 00000D6E  2F0B                     move.l     -[A7], A3
  1355. 00000D70  4EBA 03DC                jsr        [PC + 0x3DC /* 0000114E */]
  1356. 00000D74  486F 0014                pea.l      [A7 + 0x14]
  1357. 00000D78  A870                     syscall    LocalToGlobal
  1358. 00000D7A  486F 0018                pea.l      [A7 + 0x18]
  1359. 00000D7E  A870                     syscall    LocalToGlobal
  1360. 00000D80  4EBA 03EE                jsr        [PC + 0x3EE /* 00001170 */]
  1361. 00000D84  3003                     move.w     D0, D3
  1362. 00000D86  48C0                     ext.l      D0
  1363. 00000D88  322F 000C                move.w     D1, [A7 + 0xC]
  1364. 00000D8C  48C1                     ext.l      D1
  1365. 00000D8E  342F 0014                move.w     D2, [A7 + 0x14]
  1366. 00000D92  48C2                     ext.l      D2
  1367. 00000D94  9481                     sub.l      D2, D1
  1368. 00000D96  2202                     move.l     D1, D2
  1369. 00000D98  4EAD D8F8                jsr        [A5 - 0x2708]
  1370. 00000D9C  D152                     add.w      [A2], D0
  1371. 00000D9E  3003                     move.w     D0, D3
  1372. 00000DA0  48C0                     ext.l      D0
  1373. 00000DA2  322F 000E                move.w     D1, [A7 + 0xE]
  1374. 00000DA6  48C1                     ext.l      D1
  1375. 00000DA8  342F 0016                move.w     D2, [A7 + 0x16]
  1376. 00000DAC  48C2                     ext.l      D2
  1377. 00000DAE  9481                     sub.l      D2, D1
  1378. 00000DB0  2202                     move.l     D1, D2
  1379. 00000DB2  4EAD D8F8                jsr        [A5 - 0x2708]
  1380. 00000DB6  D16A 0002                add.w      [A2 + 0x2], D0
  1381. 00000DBA  3003                     move.w     D0, D3
  1382. 00000DBC  48C0                     ext.l      D0
  1383. 00000DBE  322F 0018                move.w     D1, [A7 + 0x18]
  1384. 00000DC2  48C1                     ext.l      D1
  1385. 00000DC4  342F 0010                move.w     D2, [A7 + 0x10]
  1386. 00000DC8  48C2                     ext.l      D2
  1387. 00000DCA  9481                     sub.l      D2, D1
  1388. 00000DCC  2202                     move.l     D1, D2
  1389. 00000DCE  4EAD D8F8                jsr        [A5 - 0x2708]
  1390. 00000DD2  916A 0004                sub.w      [A2 + 0x4], D0
  1391. 00000DD6  3003                     move.w     D0, D3
  1392. 00000DD8  48C0                     ext.l      D0
  1393. 00000DDA  322F 001A                move.w     D1, [A7 + 0x1A]
  1394. 00000DDE  48C1                     ext.l      D1
  1395. 00000DE0  342F 0012                move.w     D2, [A7 + 0x12]
  1396. 00000DE4  48C2                     ext.l      D2
  1397. 00000DE6  9481                     sub.l      D2, D1
  1398. 00000DE8  2202                     move.l     D1, D2
  1399. 00000DEA  4EAD D8F8                jsr        [A5 - 0x2708]
  1400. 00000DEE  916A 0006                sub.w      [A2 + 0x6], D0
  1401. 00000DF2  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  1402. 00000DF6  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  1403. 00000DFA  4E75                     rts
  1404. fn00000DFC:
  1405. 00000DFC  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  1406. 00000E00  282F 0020                move.l     D4, [A7 + 0x20]
  1407. 00000E04  97CB                     sub.l      A3, A3
  1408. 00000E06  99CC                     sub.l      A4, A4
  1409. 00000E08  246F 001C                movea.l    A2, [A7 + 0x1C]
  1410. 00000E0C  4A2A 006E                tst.b      [A2 + 0x6E]
  1411. 00000E10  6718                     beq        +0x1A /* 00000E2A */
  1412. 00000E12  206A 0072                movea.l    A0, [A2 + 0x72]
  1413. 00000E16  2050                     movea.l    A0, [A0]
  1414. 00000E18  2244                     movea.l    A1, D4
  1415. 00000E1A  22A8 0002                move.l     [A1], [A0 + 0x2]
  1416. 00000E1E  2368 0006 0004           move.l     [A1 + 0x4], [A0 + 0x6]
  1417. 00000E24  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  1418. 00000E28  4E75                     rts
  1419. label00000E2A:
  1420. 00000E2A  594F                     subq.w     A7, 4
  1421. 00000E2C  A8D8                     syscall    NewRgn
  1422. 00000E2E  205F                     movea.l    A0, [A7]+
  1423. 00000E30  2648                     movea.l    A3, A0
  1424. 00000E32  2008                     move.l     D0, A0
  1425. 00000E34  6700 0090                beq        +0x92 /* 00000EC6 */
  1426. 00000E38  594F                     subq.w     A7, 4
  1427. 00000E3A  A8D8                     syscall    NewRgn
  1428. 00000E3C  205F                     movea.l    A0, [A7]+
  1429. 00000E3E  2848                     movea.l    A4, A0
  1430. 00000E40  2008                     move.l     D0, A0
  1431. 00000E42  6700 0082                beq        +0x84 /* 00000EC6 */
  1432. 00000E46  2F2A 0072                move.l     -[A7], [A2 + 0x72]
  1433. 00000E4A  2F0B                     move.l     -[A7], A3
  1434. 00000E4C  A8DC                     syscall    CopyRgn
  1435. 00000E4E  2F2A 0076                move.l     -[A7], [A2 + 0x76]
  1436. 00000E52  2F0C                     move.l     -[A7], A4
  1437. 00000E54  A8DC                     syscall    CopyRgn
  1438. 00000E56  206A 007E                movea.l    A0, [A2 + 0x7E]
  1439. 00000E5A  A069                     syscall    HGetState
  1440. 00000E5C  1600                     move.b     D3, D0
  1441. 00000E5E  2F2A 007E                move.l     -[A7], [A2 + 0x7E]
  1442. 00000E62  A9A2                     syscall    LoadResource
  1443. 00000E64  206A 007E                movea.l    A0, [A2 + 0x7E]
  1444. 00000E68  A04A                     syscall    HNoPurge
  1445. 00000E6A  206A 007E                movea.l    A0, [A2 + 0x7E]
  1446. 00000E6E  A029                     syscall    HLock
  1447. 00000E70  206A 007E                movea.l    A0, [A2 + 0x7E]
  1448. 00000E74  2C50                     movea.l    A6, [A0]
  1449. 00000E76  594F                     subq.w     A7, 4
  1450. 00000E78  554F                     subq.w     A7, 2
  1451. 00000E7A  2F0A                     move.l     -[A7], A2
  1452. 00000E7C  A80A                     syscall    GetWVariant
  1453. 00000E7E  301F                     move.w     D0, [A7]+
  1454. 00000E80  3F00                     move.w     -[A7], D0
  1455. 00000E82  2F0A                     move.l     -[A7], A2
  1456. 00000E84  3F3C 0002                move.w     -[A7], 0x2
  1457. 00000E88  42A7                     clr.l      -[A7]
  1458. 00000E8A  4E96                     jsr        [A6]
  1459. 00000E8C  201F                     move.l     D0, [A7]+
  1460. 00000E8E  206A 0072                movea.l    A0, [A2 + 0x72]
  1461. 00000E92  2050                     movea.l    A0, [A0]
  1462. 00000E94  2244                     movea.l    A1, D4
  1463. 00000E96  22A8 0002                move.l     [A1], [A0 + 0x2]
  1464. 00000E9A  2368 0006 0004           move.l     [A1 + 0x4], [A0 + 0x6]
  1465. 00000EA0  206A 007E                movea.l    A0, [A2 + 0x7E]
  1466. 00000EA4  1003                     move.b     D0, D3
  1467. 00000EA6  A06A                     syscall    HSetState
  1468. 00000EA8  2F0B                     move.l     -[A7], A3
  1469. 00000EAA  2F2A 0072                move.l     -[A7], [A2 + 0x72]
  1470. 00000EAE  A8DC                     syscall    CopyRgn
  1471. 00000EB0  2F0C                     move.l     -[A7], A4
  1472. 00000EB2  2F2A 0076                move.l     -[A7], [A2 + 0x76]
  1473. 00000EB6  A8DC                     syscall    CopyRgn
  1474. 00000EB8  2F0B                     move.l     -[A7], A3
  1475. 00000EBA  A8D9                     syscall    DisposRgn/DisposeRgn
  1476. 00000EBC  2F0C                     move.l     -[A7], A4
  1477. 00000EBE  A8D9                     syscall    DisposRgn/DisposeRgn
  1478. 00000EC0  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  1479. 00000EC4  4E75                     rts
  1480. label00000EC6:
  1481. 00000EC6  2044                     movea.l    A0, D4
  1482. 00000EC8  4268 0004                clr.w      [A0 + 0x4]
  1483. 00000ECC  4250                     clr.w      [A0]
  1484. 00000ECE  4268 0006                clr.w      [A0 + 0x6]
  1485. 00000ED2  4268 0002                clr.w      [A0 + 0x2]
  1486. 00000ED6  200B                     move.l     D0, A3
  1487. 00000ED8  6704                     beq        +0x6 /* 00000EDE */
  1488. 00000EDA  2F0B                     move.l     -[A7], A3
  1489. 00000EDC  A8D9                     syscall    DisposRgn/DisposeRgn
  1490. label00000EDE:
  1491. 00000EDE  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  1492. 00000EE2  4E75                     rts
  1493. fn00000EE4:
  1494. 00000EE4  48E7 0030                movem.l    -[A7], A2,A3
  1495. 00000EE8  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  1496. 00000EEC  266F 001C                movea.l    A3, [A7 + 0x1C]
  1497. 00000EF0  246F 0020                movea.l    A2, [A7 + 0x20]
  1498. 00000EF4  486F 0008                pea.l      [A7 + 0x8]
  1499. 00000EF8  2F0B                     move.l     -[A7], A3
  1500. 00000EFA  4EBA FF00                jsr        [PC - 0x100 /* 00000DFC */]
  1501. 00000EFE  2F6B 0010 0008           move.l     [A7 + 0x8], [A3 + 0x10]
  1502. 00000F04  2F6B 0014 000C           move.l     [A7 + 0xC], [A3 + 0x14]
  1503. 00000F0A  2F0B                     move.l     -[A7], A3
  1504. 00000F0C  4EBA 0240                jsr        [PC + 0x240 /* 0000114E */]
  1505. 00000F10  486F 000C                pea.l      [A7 + 0xC]
  1506. 00000F14  A870                     syscall    LocalToGlobal
  1507. 00000F16  486F 0010                pea.l      [A7 + 0x10]
  1508. 00000F1A  A870                     syscall    LocalToGlobal
  1509. 00000F1C  4EBA 0252                jsr        [PC + 0x252 /* 00001170 */]
  1510. 00000F20  34AF 0014                move.w     [A2], [A7 + 0x14]
  1511. 00000F24  356F 0016 0002           move.w     [A2 + 0x2], [A7 + 0x16]
  1512. 00000F2A  356F 001A 0006           move.w     [A2 + 0x6], [A7 + 0x1A]
  1513. 00000F30  356F 000C 0004           move.w     [A2 + 0x4], [A7 + 0xC]
  1514. 00000F36  2F0A                     move.l     -[A7], A2
  1515. 00000F38  302F 0016                move.w     D0, [A7 + 0x16]
  1516. 00000F3C  48C0                     ext.l      D0
  1517. 00000F3E  322F 001E                move.w     D1, [A7 + 0x1E]
  1518. 00000F42  48C1                     ext.l      D1
  1519. 00000F44  9280                     sub.l      D1, D0
  1520. 00000F46  302F 001A                move.w     D0, [A7 + 0x1A]
  1521. 00000F4A  48C0                     ext.l      D0
  1522. 00000F4C  342F 0012                move.w     D2, [A7 + 0x12]
  1523. 00000F50  48C2                     ext.l      D2
  1524. 00000F52  9480                     sub.l      D2, D0
  1525. 00000F54  D481                     add.l      D2, D1
  1526. 00000F56  3F02                     move.w     -[A7], D2
  1527. 00000F58  302F 0016                move.w     D0, [A7 + 0x16]
  1528. 00000F5C  48C0                     ext.l      D0
  1529. 00000F5E  322F 001E                move.w     D1, [A7 + 0x1E]
  1530. 00000F62  48C1                     ext.l      D1
  1531. 00000F64  9280                     sub.l      D1, D0
  1532. 00000F66  3F01                     move.w     -[A7], D1
  1533. 00000F68  A8A9                     syscall    InsetRect
  1534. 00000F6A  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  1535. 00000F6E  4CDF 0C00                movem.l    A2,A3, [A7]+
  1536. 00000F72  4E75                     rts
  1537. fn00000F74:
  1538. 00000F74  48E7 1C20                movem.l    -[A7], D3,D4,D5,A2
  1539. 00000F78  4FEF FFE0                lea.l      A7, [A7 - 0x20]
  1540. 00000F7C  246F 0034                movea.l    A2, [A7 + 0x34]
  1541. 00000F80  2EAA 0010                move.l     [A7], [A2 + 0x10]
  1542. 00000F84  2F6A 0014 0004           move.l     [A7 + 0x4], [A2 + 0x14]
  1543. 00000F8A  7800                     moveq.l    D4, 0x00
  1544. 00000F8C  7600                     moveq.l    D3, 0x00
  1545. 00000F8E  2F0A                     move.l     -[A7], A2
  1546. 00000F90  4EBA 01BC                jsr        [PC + 0x1BC /* 0000114E */]
  1547. 00000F94  486F 0004                pea.l      [A7 + 0x4]
  1548. 00000F98  A870                     syscall    LocalToGlobal
  1549. 00000F9A  486F 0008                pea.l      [A7 + 0x8]
  1550. 00000F9E  A870                     syscall    LocalToGlobal
  1551. 00000FA0  4EBA 01CE                jsr        [PC + 0x1CE /* 00001170 */]
  1552. 00000FA4  486F 0014                pea.l      [A7 + 0x14]
  1553. 00000FA8  2F0A                     move.l     -[A7], A2
  1554. 00000FAA  4EBA FF38                jsr        [PC - 0xC8 /* 00000EE4 */]
  1555. 00000FAE  486F 001C                pea.l      [A7 + 0x1C]
  1556. 00000FB2  302F 0012                move.w     D0, [A7 + 0x12]
  1557. 00000FB6  48C0                     ext.l      D0
  1558. 00000FB8  322F 004A                move.w     D1, [A7 + 0x4A]
  1559. 00000FBC  48C1                     ext.l      D1
  1560. 00000FBE  9280                     sub.l      D1, D0
  1561. 00000FC0  3F01                     move.w     -[A7], D1
  1562. 00000FC2  302F 0012                move.w     D0, [A7 + 0x12]
  1563. 00000FC6  48C0                     ext.l      D0
  1564. 00000FC8  322F 004A                move.w     D1, [A7 + 0x4A]
  1565. 00000FCC  48C1                     ext.l      D1
  1566. 00000FCE  9280                     sub.l      D1, D0
  1567. 00000FD0  3F01                     move.w     -[A7], D1
  1568. 00000FD2  A8A8                     syscall    OffsetRect
  1569. 00000FD4  302F 000E                move.w     D0, [A7 + 0xE]
  1570. 00000FD8  48C0                     ext.l      D0
  1571. 00000FDA  322F 0012                move.w     D1, [A7 + 0x12]
  1572. 00000FDE  48C1                     ext.l      D1
  1573. 00000FE0  9280                     sub.l      D1, D0
  1574. 00000FE2  302F 0048                move.w     D0, [A7 + 0x48]
  1575. 00000FE6  48C0                     ext.l      D0
  1576. 00000FE8  9081                     sub.l      D0, D1
  1577. 00000FEA  D16F 0022                add.w      [A7 + 0x22], D0
  1578. 00000FEE  7000                     moveq.l    D0, 0x00
  1579. 00000FF0  102D 81A0                move.b     D0, [A5 - 0x7E60]
  1580. 00000FF4  7202                     moveq.l    D1, 0x02
  1581. 00000FF6  B081                     cmp.l      D0, D1
  1582. 00000FF8  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1583. 00000FFC  6D00 0086                blt        +0x88 /* 00001084 */
  1584. 00001000  594F                     subq.w     A7, 4
  1585. 00001002  AA29                     syscall    GetDeviceList
  1586. 00001004  205F                     movea.l    A0, [A7]+
  1587. 00001006  2448                     movea.l    A2, A0
  1588. 00001008  6074                     bra        +0x76 /* 0000107E */
  1589. label0000100A:
  1590. 0000100A  554F                     subq.w     A7, 2
  1591. 0000100C  2F0A                     move.l     -[A7], A2
  1592. 0000100E  3F3C 000D                move.w     -[A7], 0xD /* '\r' */
  1593. 00001012  AA2C                     syscall    TestDeviceAttribute
  1594. 00001014  101F                     move.b     D0, [A7]+
  1595. 00001016  675C                     beq        +0x5E /* 00001074 */
  1596. 00001018  554F                     subq.w     A7, 2
  1597. 0000101A  2F0A                     move.l     -[A7], A2
  1598. 0000101C  3F3C 000F                move.w     -[A7], 0xF
  1599. 00001020  AA2C                     syscall    TestDeviceAttribute
  1600. 00001022  101F                     move.b     D0, [A7]+
  1601. 00001024  674E                     beq        +0x50 /* 00001074 */
  1602. 00001026  2052                     movea.l    A0, [A2]
  1603. 00001028  2F68 0022 0018           move.l     [A7 + 0x18], [A0 + 0x22]
  1604. 0000102E  2F68 0026 001C           move.l     [A7 + 0x1C], [A0 + 0x26]
  1605. 00001034  594F                     subq.w     A7, 4
  1606. 00001036  AA2A                     syscall    GetMainDevice
  1607. 00001038  205F                     movea.l    A0, [A7]+
  1608. 0000103A  B5C8                     cmpa.l     A2, A0
  1609. 0000103C  6608                     bne        +0xA /* 00001046 */
  1610. 0000103E  4EAD E0B0                jsr        [A5 - 0x1F50]
  1611. 00001042  D16F 0018                add.w      [A7 + 0x18], D0
  1612. label00001046:
  1613. 00001046  302F 0018                move.w     D0, [A7 + 0x18]
  1614. 0000104A  48C0                     ext.l      D0
  1615. 0000104C  3A2F 001C                move.w     D5, [A7 + 0x1C]
  1616. 00001050  48C5                     ext.l      D5
  1617. 00001052  9A80                     sub.l      D5, D0
  1618. 00001054  3003                     move.w     D0, D3
  1619. 00001056  48C0                     ext.l      D0
  1620. 00001058  BA80                     cmp.l      D5, D0
  1621. 0000105A  6F02                     ble        +0x4 /* 0000105E */
  1622. 0000105C  3605                     move.w     D3, D5
  1623. label0000105E:
  1624. 0000105E  554F                     subq.w     A7, 2
  1625. 00001060  486F 0012                pea.l      [A7 + 0x12]
  1626. 00001064  486F 001E                pea.l      [A7 + 0x1E]
  1627. 00001068  486F 0012                pea.l      [A7 + 0x12]
  1628. 0000106C  A8AA                     syscall    SectRect
  1629. 0000106E  101F                     move.b     D0, [A7]+
  1630. 00001070  6702                     beq        +0x4 /* 00001074 */
  1631. 00001072  7801                     moveq.l    D4, 0x01
  1632. label00001074:
  1633. 00001074  594F                     subq.w     A7, 4
  1634. 00001076  2F0A                     move.l     -[A7], A2
  1635. 00001078  AA2B                     syscall    GetNextDevice
  1636. 0000107A  205F                     movea.l    A0, [A7]+
  1637. 0000107C  2448                     movea.l    A2, A0
  1638. label0000107E:
  1639. 0000107E  200A                     move.l     D0, A2
  1640. 00001080  6688                     bne        -0x76 /* 0000100A */
  1641. 00001082  603A                     bra        +0x3C /* 000010BE */
  1642. label00001084:
  1643. 00001084  2F6D 1584 0018           move.l     [A7 + 0x18], [A5 + 0x1584]
  1644. 0000108A  2F6D 1588 001C           move.l     [A7 + 0x1C], [A5 + 0x1588]
  1645. 00001090  4EAD E0B0                jsr        [A5 - 0x1F50]
  1646. 00001094  D16F 0018                add.w      [A7 + 0x18], D0
  1647. 00001098  302F 0018                move.w     D0, [A7 + 0x18]
  1648. 0000109C  48C0                     ext.l      D0
  1649. 0000109E  362F 001C                move.w     D3, [A7 + 0x1C]
  1650. 000010A2  48C3                     ext.l      D3
  1651. 000010A4  9680                     sub.l      D3, D0
  1652. 000010A6  554F                     subq.w     A7, 2
  1653. 000010A8  486F 001A                pea.l      [A7 + 0x1A]
  1654. 000010AC  486F 0016                pea.l      [A7 + 0x16]
  1655. 000010B0  486F 0012                pea.l      [A7 + 0x12]
  1656. 000010B4  A8AA                     syscall    SectRect
  1657. 000010B6  101F                     move.b     D0, [A7]+
  1658. 000010B8  7200                     moveq.l    D1, 0x00
  1659. 000010BA  1200                     move.b     D1, D0
  1660. 000010BC  2801                     move.l     D4, D1
  1661. label000010BE:
  1662. 000010BE  4A84                     tst.l      D4
  1663. 000010C0  6734                     beq        +0x36 /* 000010F6 */
  1664. 000010C2  4A6F 0040                tst.w      [A7 + 0x40]
  1665. 000010C6  672E                     beq        +0x30 /* 000010F6 */
  1666. 000010C8  3003                     move.w     D0, D3
  1667. 000010CA  48C0                     ext.l      D0
  1668. 000010CC  7210                     moveq.l    D1, 0x10
  1669. 000010CE  D081                     add.l      D0, D1
  1670. 000010D0  322F 0010                move.w     D1, [A7 + 0x10]
  1671. 000010D4  48C1                     ext.l      D1
  1672. 000010D6  342F 0014                move.w     D2, [A7 + 0x14]
  1673. 000010DA  48C2                     ext.l      D2
  1674. 000010DC  9481                     sub.l      D2, D1
  1675. 000010DE  322F 003E                move.w     D1, [A7 + 0x3E]
  1676. 000010E2  48C1                     ext.l      D1
  1677. 000010E4  D282                     add.l      D1, D2
  1678. 000010E6  B280                     cmp.l      D1, D0
  1679. 000010E8  6F0C                     ble        +0xE /* 000010F6 */
  1680. 000010EA  7000                     moveq.l    D0, 0x00
  1681. 000010EC  4FEF 0020                lea.l      A7, [A7 + 0x20]
  1682. 000010F0  4CDF 0438                movem.l    D3,D4,D5,A2, [A7]+
  1683. 000010F4  4E75                     rts
  1684. label000010F6:
  1685. 000010F6  3004                     move.w     D0, D4
  1686. 000010F8  4FEF 0020                lea.l      A7, [A7 + 0x20]
  1687. 000010FC  4CDF 0438                movem.l    D3,D4,D5,A2, [A7]+
  1688. 00001100  4E75                     rts
  1689. 00001102  2F0A                     move.l     -[A7], A2
  1690. 00001104  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  1691. 00001108  246F 0018                movea.l    A2, [A7 + 0x18]
  1692. 0000110C  4857                     pea.l      [A7]
  1693. 0000110E  2F0A                     move.l     -[A7], A2
  1694. 00001110  4EBA FCEA                jsr        [PC - 0x316 /* 00000DFC */]
  1695. 00001114  2F6A 0010 0010           move.l     [A7 + 0x10], [A2 + 0x10]
  1696. 0000111A  2F6A 0014 0014           move.l     [A7 + 0x14], [A2 + 0x14]
  1697. 00001120  2F0A                     move.l     -[A7], A2
  1698. 00001122  4EBA 002A                jsr        [PC + 0x2A /* 0000114E */]
  1699. 00001126  486F 0014                pea.l      [A7 + 0x14]
  1700. 0000112A  A870                     syscall    LocalToGlobal
  1701. 0000112C  486F 0018                pea.l      [A7 + 0x18]
  1702. 00001130  A870                     syscall    LocalToGlobal
  1703. 00001132  4EBA 003C                jsr        [PC + 0x3C /* 00001170 */]
  1704. 00001136  302F 000C                move.w     D0, [A7 + 0xC]
  1705. 0000113A  48C0                     ext.l      D0
  1706. 0000113C  322F 0014                move.w     D1, [A7 + 0x14]
  1707. 00001140  48C1                     ext.l      D1
  1708. 00001142  9280                     sub.l      D1, D0
  1709. 00001144  3001                     move.w     D0, D1
  1710. 00001146  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  1711. 0000114A  245F                     movea.l    A2, [A7]+
  1712. 0000114C  4E75                     rts
  1713. fn0000114E:
  1714. 0000114E  202D 800C                move.l     D0, [A5 - 0x7FF4]
  1715. 00001152  52AD 800C                addq.l     [A5 - 0x7FF4], 1
  1716. 00001156  E588                     lsl        D0, 2
  1717. 00001158  41ED 8010                lea.l      A0, [A5 - 0x7FF0]
  1718. 0000115C  4870 0800                pea.l      [A0 + D0]
  1719. 00001160  A874                     syscall    GetPort
  1720. 00001162  4AAF 0004                tst.l      [A7 + 0x4]
  1721. 00001166  6706                     beq        +0x8 /* 0000116E */
  1722. 00001168  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  1723. 0000116C  A873                     syscall    SetPort
  1724. label0000116E:
  1725. 0000116E  4E75                     rts
  1726. fn00001170:
  1727. 00001170  53AD 800C                subq.l     [A5 - 0x7FF4], 1
  1728. 00001174  202D 800C                move.l     D0, [A5 - 0x7FF4]
  1729. 00001178  E588                     lsl        D0, 2
  1730. 0000117A  41ED 8010                lea.l      A0, [A5 - 0x7FF0]
  1731. 0000117E  2F30 0800                move.l     -[A7], [A0 + D0]
  1732. 00001182  A873                     syscall    SetPort
  1733. 00001184  4E75                     rts
  1734. fn00001186:
  1735. 00001186  2F0A                     move.l     -[A7], A2
  1736. 00001188  202D 8008                move.l     D0, [A5 - 0x7FF8]
  1737. 0000118C  E588                     lsl        D0, 2
  1738. 0000118E  41ED 0028                lea.l      A0, [A5 + 0x28]
  1739. 00001192  D1C0                     add.l      A0, D0
  1740. 00001194  2448                     movea.l    A2, A0
  1741. 00001196  594F                     subq.w     A7, 4
  1742. 00001198  A8D8                     syscall    NewRgn
  1743. 0000119A  205F                     movea.l    A0, [A7]+
  1744. 0000119C  2488                     move.l     [A2], A0
  1745. 0000119E  2008                     move.l     D0, A0
  1746. 000011A0  6704                     beq        +0x6 /* 000011A6 */
  1747. 000011A2  2F12                     move.l     -[A7], [A2]
  1748. 000011A4  A87A                     syscall    GetClip
  1749. label000011A6:
  1750. 000011A6  52AD 8008                addq.l     [A5 - 0x7FF8], 1
  1751. 000011AA  4AAF 0008                tst.l      [A7 + 0x8]
  1752. 000011AE  6706                     beq        +0x8 /* 000011B6 */
  1753. 000011B0  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  1754. 000011B4  A87B                     syscall    ClipRect
  1755. label000011B6:
  1756. 000011B6  245F                     movea.l    A2, [A7]+
  1757. 000011B8  4E75                     rts
  1758. fn000011BA:
  1759. 000011BA  2F0A                     move.l     -[A7], A2
  1760. 000011BC  53AD 8008                subq.l     [A5 - 0x7FF8], 1
  1761. 000011C0  202D 8008                move.l     D0, [A5 - 0x7FF8]
  1762. 000011C4  E588                     lsl        D0, 2
  1763. 000011C6  41ED 0028                lea.l      A0, [A5 + 0x28]
  1764. 000011CA  2470 0800                movea.l    A2, [A0 + D0]
  1765. 000011CE  200A                     move.l     D0, A2
  1766. 000011D0  6708                     beq        +0xA /* 000011DA */
  1767. 000011D2  2F0A                     move.l     -[A7], A2
  1768. 000011D4  A879                     syscall    SetClip
  1769. 000011D6  2F0A                     move.l     -[A7], A2
  1770. 000011D8  A8D9                     syscall    DisposRgn/DisposeRgn
  1771. label000011DA:
  1772. 000011DA  245F                     movea.l    A2, [A7]+
  1773. 000011DC  4E75                     rts
  1774. fn000011DE:
  1775. 000011DE  48E7 0030                movem.l    -[A7], A2,A3
  1776. 000011E2  594F                     subq.w     A7, 4
  1777. 000011E4  4857                     pea.l      [A7]
  1778. 000011E6  A874                     syscall    GetPort
  1779. 000011E8  202D 8004                move.l     D0, [A5 - 0x7FFC]
  1780. 000011EC  E788                     lsl        D0, 3
  1781. 000011EE  45ED 01B8                lea.l      A2, [A5 + 0x1B8]
  1782. 000011F2  D5C0                     add.l      A2, D0
  1783. 000011F4  2057                     movea.l    A0, [A7]
  1784. 000011F6  34A8 0044                move.w     [A2], [A0 + 0x44]
  1785. 000011FA  2057                     movea.l    A0, [A7]
  1786. 000011FC  3568 004A 0002           move.w     [A2 + 0x2], [A0 + 0x4A]
  1787. 00001202  202D 8004                move.l     D0, [A5 - 0x7FFC]
  1788. 00001206  E788                     lsl        D0, 3
  1789. 00001208  47ED 01B8                lea.l      A3, [A5 + 0x1B8]
  1790. 0000120C  D7C0                     add.l      A3, D0
  1791. 0000120E  2057                     movea.l    A0, [A7]
  1792. 00001210  7000                     moveq.l    D0, 0x00
  1793. 00001212  1028 0046                move.b     D0, [A0 + 0x46]
  1794. 00001216  3740 0004                move.w     [A3 + 0x4], D0
  1795. 0000121A  2057                     movea.l    A0, [A7]
  1796. 0000121C  3768 0048 0006           move.w     [A3 + 0x6], [A0 + 0x48]
  1797. 00001222  52AD 8004                addq.l     [A5 - 0x7FFC], 1
  1798. 00001226  584F                     addq.w     A7, 4
  1799. 00001228  4CDF 0C00                movem.l    A2,A3, [A7]+
  1800. 0000122C  4E75                     rts
  1801. fn0000122E:
  1802. 0000122E  53AD 8004                subq.l     [A5 - 0x7FFC], 1
  1803. 00001232  202D 8004                move.l     D0, [A5 - 0x7FFC]
  1804. 00001236  E788                     lsl        D0, 3
  1805. 00001238  41ED 01B8                lea.l      A0, [A5 + 0x1B8]
  1806. 0000123C  3F30 0800                move.w     -[A7], [A0 + D0]
  1807. 00001240  A887                     syscall    TextFont
  1808. 00001242  202D 8004                move.l     D0, [A5 - 0x7FFC]
  1809. 00001246  E788                     lsl        D0, 3
  1810. 00001248  41ED 01B8                lea.l      A0, [A5 + 0x1B8]
  1811. 0000124C  3F30 0802                move.w     -[A7], [A0 + D0 + 0x2]
  1812. 00001250  A88A                     syscall    TextSize
  1813. 00001252  202D 8004                move.l     D0, [A5 - 0x7FFC]
  1814. 00001256  E788                     lsl        D0, 3
  1815. 00001258  41ED 01B8                lea.l      A0, [A5 + 0x1B8]
  1816. 0000125C  3F30 0804                move.w     -[A7], [A0 + D0 + 0x4]
  1817. 00001260  A888                     syscall    TextFace
  1818. 00001262  202D 8004                move.l     D0, [A5 - 0x7FFC]
  1819. 00001266  E788                     lsl        D0, 3
  1820. 00001268  41ED 01B8                lea.l      A0, [A5 + 0x1B8]
  1821. 0000126C  3F30 0806                move.w     -[A7], [A0 + D0 + 0x6]
  1822. 00001270  A889                     syscall    TextMode
  1823. 00001272  4E75                     rts
  1824. fn00001274:
  1825. 00001274  2F0A                     move.l     -[A7], A2
  1826. 00001276  594F                     subq.w     A7, 4
  1827. 00001278  202D 8000                move.l     D0, [A5 - 0x8000]
  1828. 0000127C  721E                     moveq.l    D1, 0x1E
  1829. 0000127E  4EAD D8F8                jsr        [A5 - 0x2708]
  1830. 00001282  41ED 04D8                lea.l      A0, [A5 + 0x4D8]
  1831. 00001286  D1C0                     add.l      A0, D0
  1832. 00001288  4850                     pea.l      [A0]
  1833. 0000128A  A898                     syscall    GetPenState
  1834. 0000128C  7000                     moveq.l    D0, 0x00
  1835. 0000128E  102D 81A0                move.b     D0, [A5 - 0x7E60]
  1836. 00001292  7202                     moveq.l    D1, 0x02
  1837. 00001294  B081                     cmp.l      D0, D1
  1838. 00001296  6D2E                     blt        +0x30 /* 000012C6 */
  1839. 00001298  202D 8000                move.l     D0, [A5 - 0x8000]
  1840. 0000129C  721E                     moveq.l    D1, 0x1E
  1841. 0000129E  4EAD D8F8                jsr        [A5 - 0x2708]
  1842. 000012A2  41ED 04D8                lea.l      A0, [A5 + 0x4D8]
  1843. 000012A6  D1C0                     add.l      A0, D0
  1844. 000012A8  4868 0012                pea.l      [A0 + 0x12]
  1845. 000012AC  AA19                     syscall    GetForeColor
  1846. 000012AE  202D 8000                move.l     D0, [A5 - 0x8000]
  1847. 000012B2  721E                     moveq.l    D1, 0x1E
  1848. 000012B4  4EAD D8F8                jsr        [A5 - 0x2708]
  1849. 000012B8  41ED 04D8                lea.l      A0, [A5 + 0x4D8]
  1850. 000012BC  D1C0                     add.l      A0, D0
  1851. 000012BE  4868 0018                pea.l      [A0 + 0x18]
  1852. 000012C2  AA1A                     syscall    GetBackColor
  1853. 000012C4  6026                     bra        +0x28 /* 000012EC */
  1854. label000012C6:
  1855. 000012C6  4857                     pea.l      [A7]
  1856. 000012C8  A874                     syscall    GetPort
  1857. 000012CA  202D 8000                move.l     D0, [A5 - 0x8000]
  1858. 000012CE  721E                     moveq.l    D1, 0x1E
  1859. 000012D0  4EAD D8F8                jsr        [A5 - 0x2708]
  1860. 000012D4  41ED 04D8                lea.l      A0, [A5 + 0x4D8]
  1861. 000012D8  D1C0                     add.l      A0, D0
  1862. 000012DA  2448                     movea.l    A2, A0
  1863. 000012DC  2057                     movea.l    A0, [A7]
  1864. 000012DE  2568 0050 0012           move.l     [A2 + 0x12], [A0 + 0x50]
  1865. 000012E4  2057                     movea.l    A0, [A7]
  1866. 000012E6  2568 0054 0016           move.l     [A2 + 0x16], [A0 + 0x54]
  1867. label000012EC:
  1868. 000012EC  52AD 8000                addq.l     [A5 - 0x8000], 1
  1869. 000012F0  584F                     addq.w     A7, 4
  1870. 000012F2  245F                     movea.l    A2, [A7]+
  1871. 000012F4  4E75                     rts
  1872. fn000012F6:
  1873. 000012F6  53AD 8000                subq.l     [A5 - 0x8000], 1
  1874. 000012FA  202D 8000                move.l     D0, [A5 - 0x8000]
  1875. 000012FE  721E                     moveq.l    D1, 0x1E
  1876. 00001300  4EAD D8F8                jsr        [A5 - 0x2708]
  1877. 00001304  41ED 04D8                lea.l      A0, [A5 + 0x4D8]
  1878. 00001308  D1C0                     add.l      A0, D0
  1879. 0000130A  4850                     pea.l      [A0]
  1880. 0000130C  A899                     syscall    SetPenState
  1881. 0000130E  7000                     moveq.l    D0, 0x00
  1882. 00001310  102D 81A0                move.b     D0, [A5 - 0x7E60]
  1883. 00001314  7202                     moveq.l    D1, 0x02
  1884. 00001316  B081                     cmp.l      D0, D1
  1885. 00001318  6D2E                     blt        +0x30 /* 00001348 */
  1886. 0000131A  202D 8000                move.l     D0, [A5 - 0x8000]
  1887. 0000131E  721E                     moveq.l    D1, 0x1E
  1888. 00001320  4EAD D8F8                jsr        [A5 - 0x2708]
  1889. 00001324  41ED 04D8                lea.l      A0, [A5 + 0x4D8]
  1890. 00001328  D1C0                     add.l      A0, D0
  1891. 0000132A  4868 0012                pea.l      [A0 + 0x12]
  1892. 0000132E  AA14                     syscall    RGBForeColor
  1893. 00001330  202D 8000                move.l     D0, [A5 - 0x8000]
  1894. 00001334  721E                     moveq.l    D1, 0x1E
  1895. 00001336  4EAD D8F8                jsr        [A5 - 0x2708]
  1896. 0000133A  41ED 04D8                lea.l      A0, [A5 + 0x4D8]
  1897. 0000133E  D1C0                     add.l      A0, D0
  1898. 00001340  4868 0018                pea.l      [A0 + 0x18]
  1899. 00001344  AA15                     syscall    RGBBackColor
  1900. 00001346  6028                     bra        +0x2A /* 00001370 */
  1901. label00001348:
  1902. 00001348  202D 8000                move.l     D0, [A5 - 0x8000]
  1903. 0000134C  721E                     moveq.l    D1, 0x1E
  1904. 0000134E  4EAD D8F8                jsr        [A5 - 0x2708]
  1905. 00001352  41ED 04D8                lea.l      A0, [A5 + 0x4D8]
  1906. 00001356  2F30 0812                move.l     -[A7], [A0 + D0 + 0x12]
  1907. 0000135A  A862                     syscall    ForeColor
  1908. 0000135C  202D 8000                move.l     D0, [A5 - 0x8000]
  1909. 00001360  721E                     moveq.l    D1, 0x1E
  1910. 00001362  4EAD D8F8                jsr        [A5 - 0x2708]
  1911. 00001366  41ED 04D8                lea.l      A0, [A5 + 0x4D8]
  1912. 0000136A  2F30 0816                move.l     -[A7], [A0 + D0 + 0x16]
  1913. 0000136E  A863                     syscall    BackColor
  1914. label00001370:
  1915. 00001370  4E75                     rts
  1916. fn00001372:
  1917. 00001372  48E7 1020                movem.l    -[A7], D3,A2
  1918. 00001376  246F 000C                movea.l    A2, [A7 + 0xC]
  1919. 0000137A  204A                     movea.l    A0, A2
  1920. 0000137C  A069                     syscall    HGetState
  1921. 0000137E  1600                     move.b     D3, D0
  1922. 00001380  1003                     move.b     D0, D3
  1923. 00001382  0280 0000 0080           andi.l     D0, 0x80
  1924. 00001388  6604                     bne        +0x6 /* 0000138E */
  1925. 0000138A  204A                     movea.l    A0, A2
  1926. 0000138C  A029                     syscall    HLock
  1927. label0000138E:
  1928. 0000138E  202D 12E8                move.l     D0, [A5 + 0x12E8]
  1929. 00001392  52AD 12E8                addq.l     [A5 + 0x12E8], 1
  1930. 00001396  D080                     add.l      D0, D0
  1931. 00001398  41ED 1090                lea.l      A0, [A5 + 0x1090]
  1932. 0000139C  1183 0800                move.b     [A0 + D0], D3
  1933. 000013A0  2052                     movea.l    A0, [A2]
  1934. 000013A2  4CDF 0408                movem.l    D3,A2, [A7]+
  1935. 000013A6  4E75                     rts
  1936. fn000013A8:
  1937. 000013A8  53AD 12E8                subq.l     [A5 + 0x12E8], 1
  1938. 000013AC  202D 12E8                move.l     D0, [A5 + 0x12E8]
  1939. 000013B0  D080                     add.l      D0, D0
  1940. 000013B2  41ED 1090                lea.l      A0, [A5 + 0x1090]
  1941. 000013B6  1030 0800                move.b     D0, [A0 + D0]
  1942. 000013BA  206F 0004                movea.l    A0, [A7 + 0x4]
  1943. 000013BE  A06A                     syscall    HSetState
  1944. 000013C0  4E75                     rts
  1945. fn000013C2:
  1946. 000013C2  514F                     subq.w     A7, 8
  1947. 000013C4  4857                     pea.l      [A7]
  1948. 000013C6  A88B                     syscall    GetFontInfo
  1949. 000013C8  4AAF 000C                tst.l      [A7 + 0xC]
  1950. 000013CC  6706                     beq        +0x8 /* 000013D4 */
  1951. 000013CE  206F 000C                movea.l    A0, [A7 + 0xC]
  1952. 000013D2  3097                     move.w     [A0], [A7]
  1953. label000013D4:
  1954. 000013D4  302F 0002                move.w     D0, [A7 + 0x2]
  1955. 000013D8  48C0                     ext.l      D0
  1956. 000013DA  3217                     move.w     D1, [A7]
  1957. 000013DC  48C1                     ext.l      D1
  1958. 000013DE  D280                     add.l      D1, D0
  1959. 000013E0  302F 0006                move.w     D0, [A7 + 0x6]
  1960. 000013E4  48C0                     ext.l      D0
  1961. 000013E6  D081                     add.l      D0, D1
  1962. 000013E8  504F                     addq.w     A7, 8
  1963. 000013EA  4E75                     rts
  1964. fn000013EC:
  1965. 000013EC  3B7C FFFF B450           move.w     [A5 - 0x4BB0], 0xFFFF
  1966. 000013F2  4E75                     rts
  1967. fn000013F4:
  1968. 000013F4  48E7 1020                movem.l    -[A7], D3,A2
  1969. 000013F8  362F 000C                move.w     D3, [A7 + 0xC]
  1970. 000013FC  302D B450                move.w     D0, [A5 - 0x4BB0]
  1971. 00001400  48C0                     ext.l      D0
  1972. 00001402  4A80                     tst.l      D0
  1973. 00001404  6D06                     blt        +0x8 /* 0000140C */
  1974. 00001406  B66D B450                cmp.w      D3, [A5 - 0x4BB0]
  1975. 0000140A  6772                     beq        +0x74 /* 0000147E */
  1976. label0000140C:
  1977. 0000140C  4AAD 83CE                tst.l      [A5 - 0x7C32]
  1978. 00001410  666C                     bne        +0x6E /* 0000147E */
  1979. 00001412  3B43 B450                move.w     [A5 - 0x4BB0], D3
  1980. 00001416  4A43                     tst.w      D3
  1981. 00001418  6608                     bne        +0xA /* 00001422 */
  1982. 0000141A  486D 158C                pea.l      [A5 + 0x158C]
  1983. 0000141E  A851                     syscall    SetCursor
  1984. 00001420  605C                     bra        +0x5E /* 0000147E */
  1985. label00001422:
  1986. 00001422  7000                     moveq.l    D0, 0x00
  1987. 00001424  102D 81A0                move.b     D0, [A5 - 0x7E60]
  1988. 00001428  7202                     moveq.l    D1, 0x02
  1989. 0000142A  B081                     cmp.l      D0, D1
  1990. 0000142C  6D36                     blt        +0x38 /* 00001464 */
  1991. 0000142E  4227                     clr.b      -[A7]
  1992. 00001430  A99B                     syscall    SetResLoad
  1993. 00001432  594F                     subq.w     A7, 4
  1994. 00001434  2F3C 6372 7372           move.l     -[A7], 0x63727372 /* 'crsr' */
  1995. 0000143A  3F03                     move.w     -[A7], D3
  1996. 0000143C  A9A0                     syscall    GetResource
  1997. 0000143E  205F                     movea.l    A0, [A7]+
  1998. 00001440  2448                     movea.l    A2, A0
  1999. 00001442  1F3C 0001                move.b     -[A7], 0x1
  2000. 00001446  A99B                     syscall    SetResLoad
  2001. 00001448  200A                     move.l     D0, A2
  2002. 0000144A  6718                     beq        +0x1A /* 00001464 */
  2003. 0000144C  594F                     subq.w     A7, 4
  2004. 0000144E  3F03                     move.w     -[A7], D3
  2005. 00001450  AA1B                     syscall    GetCCursor
  2006. 00001452  205F                     movea.l    A0, [A7]+
  2007. 00001454  2448                     movea.l    A2, A0
  2008. 00001456  2008                     move.l     D0, A0
  2009. 00001458  670A                     beq        +0xC /* 00001464 */
  2010. 0000145A  2F0A                     move.l     -[A7], A2
  2011. 0000145C  AA1C                     syscall    SetCCursor
  2012. 0000145E  2F0A                     move.l     -[A7], A2
  2013. 00001460  AA26                     syscall    DisposeCCursor/DisposCCursor
  2014. 00001462  601A                     bra        +0x1C /* 0000147E */
  2015. label00001464:
  2016. 00001464  594F                     subq.w     A7, 4
  2017. 00001466  3F03                     move.w     -[A7], D3
  2018. 00001468  A9B9                     syscall    GetCursor
  2019. 0000146A  205F                     movea.l    A0, [A7]+
  2020. 0000146C  2448                     movea.l    A2, A0
  2021. 0000146E  2008                     move.l     D0, A0
  2022. 00001470  670C                     beq        +0xE /* 0000147E */
  2023. 00001472  204A                     movea.l    A0, A2
  2024. 00001474  A029                     syscall    HLock
  2025. 00001476  2F12                     move.l     -[A7], [A2]
  2026. 00001478  A851                     syscall    SetCursor
  2027. 0000147A  204A                     movea.l    A0, A2
  2028. 0000147C  A02A                     syscall    HUnlock
  2029. label0000147E:
  2030. 0000147E  4CDF 0408                movem.l    D3,A2, [A7]+
  2031. 00001482  205F                     movea.l    A0, [A7]+
  2032. 00001484  544F                     addq.w     A7, 2
  2033. 00001486  4ED0                     jmp        [A0]
  2034. 00001488  48E7 1030                movem.l    -[A7], D3,A2,A3
  2035. 0000148C  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  2036. 00001490  266F 0020                movea.l    A3, [A7 + 0x20]
  2037. 00001494  206F 0024                movea.l    A0, [A7 + 0x24]
  2038. 00001498  2F50 0004                move.l     [A7 + 0x4], [A0]
  2039. 0000149C  2F68 0004 0008           move.l     [A7 + 0x8], [A0 + 0x4]
  2040. 000014A2  594F                     subq.w     A7, 4
  2041. 000014A4  A8D8                     syscall    NewRgn
  2042. 000014A6  205F                     movea.l    A0, [A7]+
  2043. 000014A8  2448                     movea.l    A2, A0
  2044. 000014AA  2008                     move.l     D0, A0
  2045. 000014AC  660C                     bne        +0xE /* 000014BA */
  2046. 000014AE  7001                     moveq.l    D0, 0x01
  2047. 000014B0  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2048. 000014B4  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  2049. 000014B8  4E75                     rts
  2050. label000014BA:
  2051. 000014BA  2F0B                     move.l     -[A7], A3
  2052. 000014BC  4EBA FC90                jsr        [PC - 0x370 /* 0000114E */]
  2053. 000014C0  486F 0008                pea.l      [A7 + 0x8]
  2054. 000014C4  A870                     syscall    LocalToGlobal
  2055. 000014C6  486F 000C                pea.l      [A7 + 0xC]
  2056. 000014CA  A870                     syscall    LocalToGlobal
  2057. 000014CC  2F0A                     move.l     -[A7], A2
  2058. 000014CE  486F 000C                pea.l      [A7 + 0xC]
  2059. 000014D2  A8DF                     syscall    RectRgn
  2060. 000014D4  2F0A                     move.l     -[A7], A2
  2061. 000014D6  2F2B 007A                move.l     -[A7], [A3 + 0x7A]
  2062. 000014DA  2F0A                     move.l     -[A7], A2
  2063. 000014DC  A8E6                     syscall    DiffRgn
  2064. 000014DE  2F0A                     move.l     -[A7], A2
  2065. 000014E0  A8E2                     syscall    EmptyRgn
  2066. 000014E2  101F                     move.b     D0, [A7]+
  2067. 000014E4  57C0                     seq        D0
  2068. 000014E6  4400                     neg.b      D0
  2069. 000014E8  4880                     ext.w      D0
  2070. 000014EA  48C0                     ext.l      D0
  2071. 000014EC  2600                     move.l     D3, D0
  2072. 000014EE  2052                     movea.l    A0, [A2]
  2073. 000014F0  2F68 0002 000E           move.l     [A7 + 0xE], [A0 + 0x2]
  2074. 000014F6  2F6F 000E 0002           move.l     [A7 + 0x2], [A7 + 0xE]
  2075. 000014FC  486F 000E                pea.l      [A7 + 0xE]
  2076. 00001500  A871                     syscall    GlobalToLocal
  2077. 00001502  2F0A                     move.l     -[A7], A2
  2078. 00001504  302F 0008                move.w     D0, [A7 + 0x8]
  2079. 00001508  48C0                     ext.l      D0
  2080. 0000150A  322F 0014                move.w     D1, [A7 + 0x14]
  2081. 0000150E  48C1                     ext.l      D1
  2082. 00001510  9280                     sub.l      D1, D0
  2083. 00001512  3F01                     move.w     -[A7], D1
  2084. 00001514  302F 0008                move.w     D0, [A7 + 0x8]
  2085. 00001518  48C0                     ext.l      D0
  2086. 0000151A  322F 0014                move.w     D1, [A7 + 0x14]
  2087. 0000151E  48C1                     ext.l      D1
  2088. 00001520  9280                     sub.l      D1, D0
  2089. 00001522  3F01                     move.w     -[A7], D1
  2090. 00001524  A8E0                     syscall    OffsetRgn/OfsetRgn
  2091. 00001526  2F0A                     move.l     -[A7], A2
  2092. 00001528  2F2B 001C                move.l     -[A7], [A3 + 0x1C]
  2093. 0000152C  2F0A                     move.l     -[A7], A2
  2094. 0000152E  A8E4                     syscall    SectRgn
  2095. 00001530  2F0A                     move.l     -[A7], A2
  2096. 00001532  A879                     syscall    SetClip
  2097. 00001534  4EBA FC3A                jsr        [PC - 0x3C6 /* 00001170 */]
  2098. 00001538  2F0A                     move.l     -[A7], A2
  2099. 0000153A  A8D9                     syscall    DisposRgn/DisposeRgn
  2100. 0000153C  3003                     move.w     D0, D3
  2101. 0000153E  4FEF 0012                lea.l      A7, [A7 + 0x12]
  2102. 00001542  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  2103. 00001546  4E75                     rts
  2104. 00001548  3F3C A198                move.w     -[A7], 0xA198
  2105. 0000154C  4EBA 001E                jsr        [PC + 0x1E /* 0000156C */]
  2106. 00001550  4A40                     tst.w      D0
  2107. 00001552  544F                     addq.w     A7, 2
  2108. 00001554  6714                     beq        +0x16 /* 0000156A */
  2109. 00001556  4A6F 0004                tst.w      [A7 + 0x4]
  2110. 0000155A  6704                     beq        +0x6 /* 00001560 */
  2111. 0000155C  7001                     moveq.l    D0, 0x01
  2112. 0000155E  A098                     syscall    HWPriv
  2113. label00001560:
  2114. 00001560  4A6F 0006                tst.w      [A7 + 0x6]
  2115. 00001564  6704                     beq        +0x6 /* 0000156A */
  2116. 00001566  7003                     moveq.l    D0, 0x03
  2117. 00001568  A098                     syscall    HWPriv
  2118. label0000156A:
  2119. 0000156A  4E75                     rts
  2120. fn0000156C:
  2121. 0000156C  48E7 1800                movem.l    -[A7], D3,D4
  2122. 00001570  594F                     subq.w     A7, 4
  2123. 00001572  382F 0010                move.w     D4, [A7 + 0x10]
  2124. 00001576  3F04                     move.w     -[A7], D4
  2125. 00001578  4EBA 09BE                jsr        [PC + 0x9BE /* 00001F38 */]
  2126. 0000157C  1600                     move.b     D3, D0
  2127. 0000157E  5300                     subq.b     D0, 1
  2128. 00001580  544F                     addq.w     A7, 2
  2129. 00001582  6604                     bne        +0x6 /* 00001588 */
  2130. 00001584  0244 07FF                andi.w     D4, 0x7FF
  2131. label00001588:
  2132. 00001588  4EBA 0976                jsr        [PC + 0x976 /* 00001F00 */]
  2133. 0000158C  B840                     cmp.w      D4, D0
  2134. 0000158E  6D0A                     blt        +0xC /* 0000159A */
  2135. 00001590  7000                     moveq.l    D0, 0x00
  2136. 00001592  584F                     addq.w     A7, 4
  2137. 00001594  4CDF 0018                movem.l    D3,D4, [A7]+
  2138. 00001598  4E75                     rts
  2139. label0000159A:
  2140. 0000159A  594F                     subq.w     A7, 4
  2141. 0000159C  3F3C A89F                move.w     -[A7], 0xA89F
  2142. 000015A0  1F3C 0001                move.b     -[A7], 0x1
  2143. 000015A4  4EAD D9B2                jsr        [A5 - 0x264E]
  2144. 000015A8  205F                     movea.l    A0, [A7]+
  2145. 000015AA  2E88                     move.l     [A7], A0
  2146. 000015AC  594F                     subq.w     A7, 4
  2147. 000015AE  3F04                     move.w     -[A7], D4
  2148. 000015B0  1F03                     move.b     -[A7], D3
  2149. 000015B2  4EAD D9B2                jsr        [A5 - 0x264E]
  2150. 000015B6  205F                     movea.l    A0, [A7]+
  2151. 000015B8  B1D7                     cmpa.l     A0, [A7]
  2152. 000015BA  56C0                     sne        D0
  2153. 000015BC  4400                     neg.b      D0
  2154. 000015BE  4880                     ext.w      D0
  2155. 000015C0  48C0                     ext.l      D0
  2156. 000015C2  584F                     addq.w     A7, 4
  2157. 000015C4  4CDF 0018                movem.l    D3,D4, [A7]+
  2158. 000015C8  4E75                     rts
  2159. 000015CA  48E7 1030                movem.l    -[A7], D3,A2,A3
  2160. 000015CE  266F 0010                movea.l    A3, [A7 + 0x10]
  2161. 000015D2  246F 0014                movea.l    A2, [A7 + 0x14]
  2162. 000015D6  204A                     movea.l    A0, A2
  2163. 000015D8  70FF                     moveq.l    D0, 0xFFFFFFFF
  2164. label000015DA:
  2165. 000015DA  5280                     addq.l     D0, 1
  2166. 000015DC  4A18                     tst.b      [A0]+
  2167. 000015DE  66FA                     bne        -0x4 /* 000015DA */
  2168. 000015E0  2600                     move.l     D3, D0
  2169. 000015E2  703F                     moveq.l    D0, 0x3F
  2170. 000015E4  B680                     cmp.l      D3, D0
  2171. 000015E6  6D04                     blt        +0x6 /* 000015EC */
  2172. 000015E8  703F                     moveq.l    D0, 0x3F
  2173. 000015EA  6002                     bra        +0x4 /* 000015EE */
  2174. label000015EC:
  2175. 000015EC  2003                     move.l     D0, D3
  2176. label000015EE:
  2177. 000015EE  1680                     move.b     [A3], D0
  2178. 000015F0  7200                     moveq.l    D1, 0x00
  2179. 000015F2  1200                     move.b     D1, D0
  2180. 000015F4  2001                     move.l     D0, D1
  2181. 000015F6  204A                     movea.l    A0, A2
  2182. 000015F8  43EB 0001                lea.l      A1, [A3 + 0x1]
  2183. 000015FC  A02E                     syscall    BlockMove/BlockMoveData
  2184. 000015FE  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  2185. 00001602  4E75                     rts
  2186. fn00001604:
  2187. 00001604  48E7 1030                movem.l    -[A7], D3,A2,A3
  2188. 00001608  266F 0010                movea.l    A3, [A7 + 0x10]
  2189. 0000160C  246F 0014                movea.l    A2, [A7 + 0x14]
  2190. 00001610  204A                     movea.l    A0, A2
  2191. 00001612  70FF                     moveq.l    D0, 0xFFFFFFFF
  2192. label00001614:
  2193. 00001614  5280                     addq.l     D0, 1
  2194. 00001616  4A18                     tst.b      [A0]+
  2195. 00001618  66FA                     bne        -0x4 /* 00001614 */
  2196. 0000161A  2600                     move.l     D3, D0
  2197. 0000161C  0C83 0000 00FF           cmpi.l     D3, 0xFF
  2198. 00001622  6D08                     blt        +0xA /* 0000162C */
  2199. 00001624  203C 0000 00FF           move.l     D0, 0xFF
  2200. 0000162A  6002                     bra        +0x4 /* 0000162E */
  2201. label0000162C:
  2202. 0000162C  2003                     move.l     D0, D3
  2203. label0000162E:
  2204. 0000162E  1680                     move.b     [A3], D0
  2205. 00001630  7200                     moveq.l    D1, 0x00
  2206. 00001632  1200                     move.b     D1, D0
  2207. 00001634  2001                     move.l     D0, D1
  2208. 00001636  204A                     movea.l    A0, A2
  2209. 00001638  43EB 0001                lea.l      A1, [A3 + 0x1]
  2210. 0000163C  A02E                     syscall    BlockMove/BlockMoveData
  2211. 0000163E  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  2212. 00001642  4E75                     rts
  2213. fn00001644:
  2214. 00001644  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  2215. 00001648  266F 0014                movea.l    A3, [A7 + 0x14]
  2216. 0000164C  282F 0018                move.l     D4, [A7 + 0x18]
  2217. 00001650  246F 001C                movea.l    A2, [A7 + 0x1C]
  2218. 00001654  7000                     moveq.l    D0, 0x00
  2219. 00001656  1012                     move.b     D0, [A2]
  2220. 00001658  5280                     addq.l     D0, 1
  2221. 0000165A  B084                     cmp.l      D0, D4
  2222. 0000165C  6506                     bcs        +0x8 /* 00001664 */
  2223. 0000165E  2004                     move.l     D0, D4
  2224. 00001660  5380                     subq.l     D0, 1
  2225. 00001662  6004                     bra        +0x6 /* 00001668 */
  2226. label00001664:
  2227. 00001664  7000                     moveq.l    D0, 0x00
  2228. 00001666  1012                     move.b     D0, [A2]
  2229. label00001668:
  2230. 00001668  2600                     move.l     D3, D0
  2231. 0000166A  41EA 0001                lea.l      A0, [A2 + 0x1]
  2232. 0000166E  224B                     movea.l    A1, A3
  2233. 00001670  2003                     move.l     D0, D3
  2234. 00001672  A02E                     syscall    BlockMove/BlockMoveData
  2235. 00001674  4233 3800                clr.b      [A3 + D3]
  2236. 00001678  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  2237. 0000167C  4E75                     rts
  2238. fn0000167E:
  2239. 0000167E  4FEF FFF2                lea.l      A7, [A7 - 0xE]
  2240. 00001682  2F2F 0012                move.l     -[A7], [A7 + 0x12]
  2241. 00001686  3F2F 001A                move.w     -[A7], [A7 + 0x1A]
  2242. 0000168A  486F 0006                pea.l      [A7 + 0x6]
  2243. 0000168E  486F 0014                pea.l      [A7 + 0x14]
  2244. 00001692  486F 0010                pea.l      [A7 + 0x10]
  2245. 00001696  A98D                     syscall    GetDialogItem/GetDItem
  2246. 00001698  206F 000A                movea.l    A0, [A7 + 0xA]
  2247. 0000169C  4FEF 000E                lea.l      A7, [A7 + 0xE]
  2248. 000016A0  4E75                     rts
  2249. fn000016A2:
  2250. 000016A2  4FEF FFF2                lea.l      A7, [A7 - 0xE]
  2251. 000016A6  2F2F 0012                move.l     -[A7], [A7 + 0x12]
  2252. 000016AA  3F2F 001A                move.w     -[A7], [A7 + 0x1A]
  2253. 000016AE  486F 000A                pea.l      [A7 + 0xA]
  2254. 000016B2  486F 000A                pea.l      [A7 + 0xA]
  2255. 000016B6  486F 0014                pea.l      [A7 + 0x14]
  2256. 000016BA  A98D                     syscall    GetDialogItem/GetDItem
  2257. 000016BC  2F2F 0012                move.l     -[A7], [A7 + 0x12]
  2258. 000016C0  3F2F 001A                move.w     -[A7], [A7 + 0x1A]
  2259. 000016C4  3F2F 000A                move.w     -[A7], [A7 + 0xA]
  2260. 000016C8  2F2F 0020                move.l     -[A7], [A7 + 0x20]
  2261. 000016CC  486F 0012                pea.l      [A7 + 0x12]
  2262. 000016D0  A98E                     syscall    SetDialogItem/SetDItem
  2263. 000016D2  4FEF 000E                lea.l      A7, [A7 + 0xE]
  2264. 000016D6  4E75                     rts
  2265. fn000016D8:
  2266. 000016D8  5D4F                     subq.w     A7, 6
  2267. 000016DA  2F2F 000A                move.l     -[A7], [A7 + 0xA]
  2268. 000016DE  3F2F 0012                move.w     -[A7], [A7 + 0x12]
  2269. 000016E2  486F 0006                pea.l      [A7 + 0x6]
  2270. 000016E6  486F 000C                pea.l      [A7 + 0xC]
  2271. 000016EA  2F2F 001E                move.l     -[A7], [A7 + 0x1E]
  2272. 000016EE  A98D                     syscall    GetDialogItem/GetDItem
  2273. 000016F0  5C4F                     addq.w     A7, 6
  2274. 000016F2  4E75                     rts
  2275. fn000016F4:
  2276. 000016F4  4FEF FFF2                lea.l      A7, [A7 - 0xE]
  2277. 000016F8  2F2F 0012                move.l     -[A7], [A7 + 0x12]
  2278. 000016FC  3F2F 001A                move.w     -[A7], [A7 + 0x1A]
  2279. 00001700  486F 000E                pea.l      [A7 + 0xE]
  2280. 00001704  486F 0014                pea.l      [A7 + 0x14]
  2281. 00001708  486F 000E                pea.l      [A7 + 0xE]
  2282. 0000170C  A98D                     syscall    GetDialogItem/GetDItem
  2283. 0000170E  2F2F 0012                move.l     -[A7], [A7 + 0x12]
  2284. 00001712  3F2F 001A                move.w     -[A7], [A7 + 0x1A]
  2285. 00001716  3F2F 000E                move.w     -[A7], [A7 + 0xE]
  2286. 0000171A  2F2F 0012                move.l     -[A7], [A7 + 0x12]
  2287. 0000171E  2F2F 0024                move.l     -[A7], [A7 + 0x24]
  2288. 00001722  A98E                     syscall    SetDialogItem/SetDItem
  2289. 00001724  4FEF 000E                lea.l      A7, [A7 + 0xE]
  2290. 00001728  4E75                     rts
  2291. fn0000172A:
  2292. 0000172A  2F0A                     move.l     -[A7], A2
  2293. 0000172C  594F                     subq.w     A7, 4
  2294. 0000172E  3F2F 0010                move.w     -[A7], [A7 + 0x10]
  2295. 00001732  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  2296. 00001736  4EBA FF46                jsr        [PC - 0xBA /* 0000167E */]
  2297. 0000173A  2448                     movea.l    A2, A0
  2298. 0000173C  2F0A                     move.l     -[A7], A2
  2299. 0000173E  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  2300. 00001742  A95D                     syscall    HiliteControl
  2301. 00001744  207C 0000 000F           movea.l    A0, 0xF
  2302. 0000174A  43EF 0006                lea.l      A1, [A7 + 0x6]
  2303. 0000174E  A03B                     syscall    Delay
  2304. 00001750  2280                     move.l     [A1], D0
  2305. 00001752  2F0A                     move.l     -[A7], A2
  2306. 00001754  4267                     clr.w      -[A7]
  2307. 00001756  A95D                     syscall    HiliteControl
  2308. 00001758  4FEF 000A                lea.l      A7, [A7 + 0xA]
  2309. 0000175C  245F                     movea.l    A2, [A7]+
  2310. 0000175E  4E75                     rts
  2311. 00001760  514F                     subq.w     A7, 8
  2312. 00001762  4857                     pea.l      [A7]
  2313. 00001764  3F2F 0014                move.w     -[A7], [A7 + 0x14]
  2314. 00001768  2F2F 0012                move.l     -[A7], [A7 + 0x12]
  2315. 0000176C  4EBA FF6A                jsr        [PC - 0x96 /* 000016D8 */]
  2316. 00001770  486F 000A                pea.l      [A7 + 0xA]
  2317. 00001774  3F2F 0020                move.w     -[A7], [A7 + 0x20]
  2318. 00001778  3F2F 0024                move.w     -[A7], [A7 + 0x24]
  2319. 0000177C  A8A9                     syscall    InsetRect
  2320. 0000177E  2F2F 0016                move.l     -[A7], [A7 + 0x16]
  2321. 00001782  4EBA F9CA                jsr        [PC - 0x636 /* 0000114E */]
  2322. 00001786  486F 000E                pea.l      [A7 + 0xE]
  2323. 0000178A  A928                     syscall    InvalRect
  2324. 0000178C  4EBA F9E2                jsr        [PC - 0x61E /* 00001170 */]
  2325. 00001790  4FEF 0016                lea.l      A7, [A7 + 0x16]
  2326. 00001794  4E75                     rts
  2327. fn00001796:
  2328. 00001796  48E7 1030                movem.l    -[A7], D3,A2,A3
  2329. 0000179A  266F 0010                movea.l    A3, [A7 + 0x10]
  2330. 0000179E  594F                     subq.w     A7, 4
  2331. 000017A0  2F0B                     move.l     -[A7], A3
  2332. 000017A2  4EAD D9AC                jsr        [A5 - 0x2654]
  2333. 000017A6  201F                     move.l     D0, [A7]+
  2334. 000017A8  2600                     move.l     D3, D0
  2335. 000017AA  A122                     syscall    NewHandle, flags=1
  2336. 000017AC  2448                     movea.l    A2, A0
  2337. 000017AE  2008                     move.l     D0, A0
  2338. 000017B0  6608                     bne        +0xA /* 000017BA */
  2339. 000017B2  91C8                     sub.l      A0, A0
  2340. 000017B4  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  2341. 000017B8  4E75                     rts
  2342. label000017BA:
  2343. 000017BA  2053                     movea.l    A0, [A3]
  2344. 000017BC  2252                     movea.l    A1, [A2]
  2345. 000017BE  2003                     move.l     D0, D3
  2346. 000017C0  A02E                     syscall    BlockMove/BlockMoveData
  2347. 000017C2  204A                     movea.l    A0, A2
  2348. 000017C4  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  2349. 000017C8  4E75                     rts
  2350. 000017CA  48E7 0C10                movem.l    -[A7], D4,D5,A3
  2351. 000017CE  266F 0010                movea.l    A3, [A7 + 0x10]
  2352. 000017D2  226F 0014                movea.l    A1, [A7 + 0x14]
  2353. 000017D6  2A2F 0018                move.l     D5, [A7 + 0x18]
  2354. 000017DA  6032                     bra        +0x34 /* 0000180E */
  2355. label000017DC:
  2356. 000017DC  141B                     move.b     D2, [A3]+
  2357. 000017DE  1819                     move.b     D4, [A1]+
  2358. 000017E0  7000                     moveq.l    D0, 0x00
  2359. 000017E2  1002                     move.b     D0, D2
  2360. 000017E4  206D 1984                movea.l    A0, [A5 + 0x1984]
  2361. 000017E8  1430 0000                move.b     D2, [A0 + D0.w]
  2362. 000017EC  7000                     moveq.l    D0, 0x00
  2363. 000017EE  1004                     move.b     D0, D4
  2364. 000017F0  1830 0000                move.b     D4, [A0 + D0.w]
  2365. 000017F4  B404                     cmp.b      D2, D4
  2366. 000017F6  6716                     beq        +0x18 /* 0000180E */
  2367. 000017F8  1004                     move.b     D0, D4
  2368. 000017FA  4880                     ext.w      D0
  2369. 000017FC  48C0                     ext.l      D0
  2370. 000017FE  1202                     move.b     D1, D2
  2371. 00001800  4881                     ext.w      D1
  2372. 00001802  48C1                     ext.l      D1
  2373. 00001804  9280                     sub.l      D1, D0
  2374. 00001806  2001                     move.l     D0, D1
  2375. 00001808  4CDF 0830                movem.l    D4,D5,A3, [A7]+
  2376. 0000180C  4E75                     rts
  2377. label0000180E:
  2378. 0000180E  2005                     move.l     D0, D5
  2379. 00001810  5385                     subq.l     D5, 1
  2380. 00001812  4A80                     tst.l      D0
  2381. 00001814  66C6                     bne        -0x38 /* 000017DC */
  2382. 00001816  7000                     moveq.l    D0, 0x00
  2383. 00001818  4CDF 0830                movem.l    D4,D5,A3, [A7]+
  2384. 0000181C  4E75                     rts
  2385. 0000181E  48E7 0810                movem.l    -[A7], D4,A3
  2386. 00001822  266F 000C                movea.l    A3, [A7 + 0xC]
  2387. 00001826  226F 0010                movea.l    A1, [A7 + 0x10]
  2388. label0000182A:
  2389. 0000182A  141B                     move.b     D2, [A3]+
  2390. 0000182C  1819                     move.b     D4, [A1]+
  2391. 0000182E  7000                     moveq.l    D0, 0x00
  2392. 00001830  1002                     move.b     D0, D2
  2393. 00001832  206D 1984                movea.l    A0, [A5 + 0x1984]
  2394. 00001836  1430 0000                move.b     D2, [A0 + D0.w]
  2395. 0000183A  7000                     moveq.l    D0, 0x00
  2396. 0000183C  1004                     move.b     D0, D4
  2397. 0000183E  1830 0000                move.b     D4, [A0 + D0.w]
  2398. 00001842  B404                     cmp.b      D2, D4
  2399. 00001844  6716                     beq        +0x18 /* 0000185C */
  2400. 00001846  1004                     move.b     D0, D4
  2401. 00001848  4880                     ext.w      D0
  2402. 0000184A  48C0                     ext.l      D0
  2403. 0000184C  1202                     move.b     D1, D2
  2404. 0000184E  4881                     ext.w      D1
  2405. 00001850  48C1                     ext.l      D1
  2406. 00001852  9280                     sub.l      D1, D0
  2407. 00001854  2001                     move.l     D0, D1
  2408. 00001856  4CDF 0810                movem.l    D4,A3, [A7]+
  2409. 0000185A  4E75                     rts
  2410. label0000185C:
  2411. 0000185C  4A02                     tst.b      D2
  2412. 0000185E  66CA                     bne        -0x34 /* 0000182A */
  2413. 00001860  7000                     moveq.l    D0, 0x00
  2414. 00001862  4CDF 0810                movem.l    D4,A3, [A7]+
  2415. 00001866  4E75                     rts
  2416. fn00001868:
  2417. 00001868  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  2418. 0000186C  4FEF FFD4                lea.l      A7, [A7 - 0x2C]
  2419. 00001870  266F 0044                movea.l    A3, [A7 + 0x44]
  2420. 00001874  2A2F 0048                move.l     D5, [A7 + 0x48]
  2421. 00001878  45EF 004C                lea.l      A2, [A7 + 0x4C]
  2422. 0000187C  548A                     addq.l     A2, 2
  2423. 0000187E  7600                     moveq.l    D3, 0x00
  2424. 00001880  6010                     bra        +0x12 /* 00001892 */
  2425. label00001882:
  2426. 00001882  588A                     addq.l     A2, 4
  2427. 00001884  2003                     move.l     D0, D3
  2428. 00001886  E588                     lsl        D0, 2
  2429. 00001888  41D7                     lea.l      A0, [A7]
  2430. 0000188A  21AA FFFC 0800           move.l     [A0 + D0], [A2 - 0x4]
  2431. 00001890  5283                     addq.l     D3, 1
  2432. label00001892:
  2433. 00001892  302F 004C                move.w     D0, [A7 + 0x4C]
  2434. 00001896  48C0                     ext.l      D0
  2435. 00001898  B680                     cmp.l      D3, D0
  2436. 0000189A  6DE6                     blt        -0x18 /* 00001882 */
  2437. 0000189C  200B                     move.l     D0, A3
  2438. 0000189E  6704                     beq        +0x6 /* 000018A4 */
  2439. 000018A0  4A93                     tst.l      [A3]
  2440. 000018A2  660A                     bne        +0xC /* 000018AE */
  2441. label000018A4:
  2442. 000018A4  4FEF 002C                lea.l      A7, [A7 + 0x2C]
  2443. 000018A8  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  2444. 000018AC  4E75                     rts
  2445. label000018AE:
  2446. 000018AE  594F                     subq.w     A7, 4
  2447. 000018B0  2F0B                     move.l     -[A7], A3
  2448. 000018B2  4EAD D9AC                jsr        [A5 - 0x2654]
  2449. 000018B6  201F                     move.l     D0, [A7]+
  2450. 000018B8  2205                     move.l     D1, D5
  2451. 000018BA  4EAD D8FE                jsr        [A5 - 0x2702]
  2452. 000018BE  2800                     move.l     D4, D0
  2453. 000018C0  2F0B                     move.l     -[A7], A3
  2454. 000018C2  4EBA FAAE                jsr        [PC - 0x552 /* 00001372 */]
  2455. 000018C6  2448                     movea.l    A2, A0
  2456. 000018C8  584F                     addq.w     A7, 4
  2457. 000018CA  6026                     bra        +0x28 /* 000018F2 */
  2458. label000018CC:
  2459. 000018CC  7600                     moveq.l    D3, 0x00
  2460. 000018CE  6016                     bra        +0x18 /* 000018E6 */
  2461. label000018D0:
  2462. 000018D0  2003                     move.l     D0, D3
  2463. 000018D2  E588                     lsl        D0, 2
  2464. 000018D4  41D7                     lea.l      A0, [A7]
  2465. 000018D6  2230 0800                move.l     D1, [A0 + D0]
  2466. 000018DA  4872 1800                pea.l      [A2 + D1]
  2467. 000018DE  4EBA 075C                jsr        [PC + 0x75C /* 0000203C */]
  2468. 000018E2  5283                     addq.l     D3, 1
  2469. 000018E4  584F                     addq.w     A7, 4
  2470. label000018E6:
  2471. 000018E6  302F 004C                move.w     D0, [A7 + 0x4C]
  2472. 000018EA  48C0                     ext.l      D0
  2473. 000018EC  B680                     cmp.l      D3, D0
  2474. 000018EE  6DE0                     blt        -0x1E /* 000018D0 */
  2475. 000018F0  D5C5                     add.l      A2, D5
  2476. label000018F2:
  2477. 000018F2  2004                     move.l     D0, D4
  2478. 000018F4  5384                     subq.l     D4, 1
  2479. 000018F6  4A80                     tst.l      D0
  2480. 000018F8  66D2                     bne        -0x2C /* 000018CC */
  2481. 000018FA  2F0B                     move.l     -[A7], A3
  2482. 000018FC  4EBA FAAA                jsr        [PC - 0x556 /* 000013A8 */]
  2483. 00001900  4FEF 0030                lea.l      A7, [A7 + 0x30]
  2484. 00001904  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  2485. 00001908  4E75                     rts
  2486. fn0000190A:
  2487. 0000190A  48E7 1020                movem.l    -[A7], D3,A2
  2488. 0000190E  594F                     subq.w     A7, 4
  2489. 00001910  362F 0016                move.w     D3, [A7 + 0x16]
  2490. 00001914  246F 0012                movea.l    A2, [A7 + 0x12]
  2491. 00001918  4A2D 12EC                tst.b      [A5 + 0x12EC]
  2492. 0000191C  662A                     bne        +0x2C /* 00001948 */
  2493. 0000191E  554F                     subq.w     A7, 2
  2494. 00001920  2F3C 7363 7269           move.l     -[A7], 0x73637269 /* 'scri' */
  2495. 00001926  486F 0006                pea.l      [A7 + 0x6]
  2496. 0000192A  4EAD DA66                jsr        [A5 - 0x259A]
  2497. 0000192E  301F                     move.w     D0, [A7]+
  2498. 00001930  6610                     bne        +0x12 /* 00001942 */
  2499. 00001932  0C97 0000 0700           cmpi.l     [A7], 0x700
  2500. 00001938  6D08                     blt        +0xA /* 00001942 */
  2501. 0000193A  1B7C 0002 12EC           move.b     [A5 + 0x12EC], 0x2
  2502. 00001940  6006                     bra        +0x8 /* 00001948 */
  2503. label00001942:
  2504. 00001942  1B7C 0001 12EC           move.b     [A5 + 0x12EC], 0x1
  2505. label00001948:
  2506. 00001948  0C2D 0002 12EC           cmpi.b     [A5 + 0x12EC], 0x2
  2507. 0000194E  6622                     bne        +0x24 /* 00001972 */
  2508. 00001950  554F                     subq.w     A7, 2
  2509. 00001952  3F03                     move.w     -[A7], D3
  2510. 00001954  2F0A                     move.l     -[A7], A2
  2511. 00001956  3F2F 0018                move.w     -[A7], [A7 + 0x18]
  2512. 0000195A  2F3C 8208 FFE0           move.l     -[A7], 0x8208FFE0
  2513. 00001960  A8B5                     syscall    ScriptUtil
  2514. 00001962  301F                     move.w     D0, [A7]+
  2515. 00001964  6022                     bra        +0x24 /* 00001988 */
  2516. label00001966:
  2517. 00001966  5312                     subq.b     [A2], 1
  2518. 00001968  7000                     moveq.l    D0, 0x00
  2519. 0000196A  1012                     move.b     D0, [A2]
  2520. 0000196C  15BC 00C9 0000           move.b     [A2 + D0.w], 0xC9
  2521. label00001972:
  2522. 00001972  7000                     moveq.l    D0, 0x00
  2523. 00001974  1012                     move.b     D0, [A2]
  2524. 00001976  7201                     moveq.l    D1, 0x01
  2525. 00001978  B081                     cmp.l      D0, D1
  2526. 0000197A  6F0C                     ble        +0xE /* 00001988 */
  2527. 0000197C  554F                     subq.w     A7, 2
  2528. 0000197E  2F0A                     move.l     -[A7], A2
  2529. 00001980  A88C                     syscall    StringWidth
  2530. 00001982  301F                     move.w     D0, [A7]+
  2531. 00001984  B043                     cmp.w      D0, D3
  2532. 00001986  6EDE                     bgt        -0x20 /* 00001966 */
  2533. label00001988:
  2534. 00001988  584F                     addq.w     A7, 4
  2535. 0000198A  4CDF 0408                movem.l    D3,A2, [A7]+
  2536. 0000198E  205F                     movea.l    A0, [A7]+
  2537. 00001990  504F                     addq.w     A7, 8
  2538. 00001992  4ED0                     jmp        [A0]
  2539. fn00001994:
  2540. 00001994  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  2541. 00001998  4FEF FFF4                lea.l      A7, [A7 - 0xC]
  2542. 0000199C  282F 0034                move.l     D4, [A7 + 0x34]
  2543. 000019A0  2C6F 0030                movea.l    A6, [A7 + 0x30]
  2544. 000019A4  262F 002C                move.l     D3, [A7 + 0x2C]
  2545. 000019A8  7000                     moveq.l    D0, 0x00
  2546. 000019AA  102D 81A0                move.b     D0, [A5 - 0x7E60]
  2547. 000019AE  7202                     moveq.l    D1, 0x02
  2548. 000019B0  B081                     cmp.l      D0, D1
  2549. 000019B2  6D00 00BA                blt        +0xBC /* 00001A6E */
  2550. 000019B6  594F                     subq.w     A7, 4
  2551. 000019B8  AA29                     syscall    GetDeviceList
  2552. 000019BA  205F                     movea.l    A0, [A7]+
  2553. 000019BC  2448                     movea.l    A2, A0
  2554. 000019BE  594F                     subq.w     A7, 4
  2555. 000019C0  A8D8                     syscall    NewRgn
  2556. 000019C2  205F                     movea.l    A0, [A7]+
  2557. 000019C4  2648                     movea.l    A3, A0
  2558. 000019C6  2008                     move.l     D0, A0
  2559. 000019C8  6700 00AE                beq        +0xB0 /* 00001A78 */
  2560. 000019CC  486F 0008                pea.l      [A7 + 0x8]
  2561. 000019D0  A874                     syscall    GetPort
  2562. 000019D2  6000 008E                bra        +0x90 /* 00001A62 */
  2563. label000019D6:
  2564. 000019D6  554F                     subq.w     A7, 2
  2565. 000019D8  2F0A                     move.l     -[A7], A2
  2566. 000019DA  3F3C 000D                move.w     -[A7], 0xD /* '\r' */
  2567. 000019DE  AA2C                     syscall    TestDeviceAttribute
  2568. 000019E0  101F                     move.b     D0, [A7]+
  2569. 000019E2  6774                     beq        +0x76 /* 00001A58 */
  2570. 000019E4  554F                     subq.w     A7, 2
  2571. 000019E6  2F0A                     move.l     -[A7], A2
  2572. 000019E8  3F3C 000F                move.w     -[A7], 0xF
  2573. 000019EC  AA2C                     syscall    TestDeviceAttribute
  2574. 000019EE  101F                     move.b     D0, [A7]+
  2575. 000019F0  6766                     beq        +0x68 /* 00001A58 */
  2576. 000019F2  2052                     movea.l    A0, [A2]
  2577. 000019F4  2EA8 0022                move.l     [A7], [A0 + 0x22]
  2578. 000019F8  2F68 0026 0004           move.l     [A7 + 0x4], [A0 + 0x26]
  2579. 000019FE  4857                     pea.l      [A7]
  2580. 00001A00  A871                     syscall    GlobalToLocal
  2581. 00001A02  486F 0004                pea.l      [A7 + 0x4]
  2582. 00001A06  A871                     syscall    GlobalToLocal
  2583. 00001A08  2F0B                     move.l     -[A7], A3
  2584. 00001A0A  486F 0004                pea.l      [A7 + 0x4]
  2585. 00001A0E  A8DF                     syscall    RectRgn
  2586. 00001A10  2F04                     move.l     -[A7], D4
  2587. 00001A12  2F0B                     move.l     -[A7], A3
  2588. 00001A14  2F0B                     move.l     -[A7], A3
  2589. 00001A16  A8E4                     syscall    SectRgn
  2590. 00001A18  2F0B                     move.l     -[A7], A3
  2591. 00001A1A  206F 000C                movea.l    A0, [A7 + 0xC]
  2592. 00001A1E  2F28 0018                move.l     -[A7], [A0 + 0x18]
  2593. 00001A22  2F0B                     move.l     -[A7], A3
  2594. 00001A24  A8E4                     syscall    SectRgn
  2595. 00001A26  554F                     subq.w     A7, 2
  2596. 00001A28  2F0B                     move.l     -[A7], A3
  2597. 00001A2A  A8E2                     syscall    EmptyRgn
  2598. 00001A2C  101F                     move.b     D0, [A7]+
  2599. 00001A2E  6628                     bne        +0x2A /* 00001A58 */
  2600. 00001A30  206F 0008                movea.l    A0, [A7 + 0x8]
  2601. 00001A34  2868 0018                movea.l    A4, [A0 + 0x18]
  2602. 00001A38  214B 0018                move.l     [A0 + 0x18], A3
  2603. 00001A3C  2052                     movea.l    A0, [A2]
  2604. 00001A3E  2068 0016                movea.l    A0, [A0 + 0x16]
  2605. 00001A42  2050                     movea.l    A0, [A0]
  2606. 00001A44  3F28 0020                move.w     -[A7], [A0 + 0x20]
  2607. 00001A48  4267                     clr.w      -[A7]
  2608. 00001A4A  2F0A                     move.l     -[A7], A2
  2609. 00001A4C  2F03                     move.l     -[A7], D3
  2610. 00001A4E  4E96                     jsr        [A6]
  2611. 00001A50  206F 0008                movea.l    A0, [A7 + 0x8]
  2612. 00001A54  214C 0018                move.l     [A0 + 0x18], A4
  2613. label00001A58:
  2614. 00001A58  594F                     subq.w     A7, 4
  2615. 00001A5A  2F0A                     move.l     -[A7], A2
  2616. 00001A5C  AA2B                     syscall    GetNextDevice
  2617. 00001A5E  205F                     movea.l    A0, [A7]+
  2618. 00001A60  2448                     movea.l    A2, A0
  2619. label00001A62:
  2620. 00001A62  200A                     move.l     D0, A2
  2621. 00001A64  6600 FF70                bne        -0x8E /* 000019D6 */
  2622. 00001A68  2F0B                     move.l     -[A7], A3
  2623. 00001A6A  A8D9                     syscall    DisposRgn/DisposeRgn
  2624. 00001A6C  600A                     bra        +0xC /* 00001A78 */
  2625. label00001A6E:
  2626. 00001A6E  4878 0001                push.l     0x1
  2627. 00001A72  42A7                     clr.l      -[A7]
  2628. 00001A74  2F03                     move.l     -[A7], D3
  2629. 00001A76  4E96                     jsr        [A6]
  2630. label00001A78:
  2631. 00001A78  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2632. 00001A7C  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  2633. 00001A80  205F                     movea.l    A0, [A7]+
  2634. 00001A82  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2635. 00001A86  4ED0                     jmp        [A0]
  2636. fn00001A88:
  2637. 00001A88  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  2638. 00001A8C  266F 001C                movea.l    A3, [A7 + 0x1C]
  2639. 00001A90  246F 0020                movea.l    A2, [A7 + 0x20]
  2640. 00001A94  7000                     moveq.l    D0, 0x00
  2641. 00001A96  3012                     move.w     D0, [A2]
  2642. 00001A98  7200                     moveq.l    D1, 0x00
  2643. 00001A9A  3213                     move.w     D1, [A3]
  2644. 00001A9C  9280                     sub.l      D1, D0
  2645. 00001A9E  2F01                     move.l     -[A7], D1
  2646. 00001AA0  4EAD D92E                jsr        [A5 - 0x26D2]
  2647. 00001AA4  3600                     move.w     D3, D0
  2648. 00001AA6  7000                     moveq.l    D0, 0x00
  2649. 00001AA8  302A 0002                move.w     D0, [A2 + 0x2]
  2650. 00001AAC  7200                     moveq.l    D1, 0x00
  2651. 00001AAE  322B 0002                move.w     D1, [A3 + 0x2]
  2652. 00001AB2  9280                     sub.l      D1, D0
  2653. 00001AB4  2F01                     move.l     -[A7], D1
  2654. 00001AB6  4EAD D92E                jsr        [A5 - 0x26D2]
  2655. 00001ABA  3800                     move.w     D4, D0
  2656. 00001ABC  7000                     moveq.l    D0, 0x00
  2657. 00001ABE  302A 0004                move.w     D0, [A2 + 0x4]
  2658. 00001AC2  7200                     moveq.l    D1, 0x00
  2659. 00001AC4  322B 0004                move.w     D1, [A3 + 0x4]
  2660. 00001AC8  9280                     sub.l      D1, D0
  2661. 00001ACA  2F01                     move.l     -[A7], D1
  2662. 00001ACC  4EAD D92E                jsr        [A5 - 0x26D2]
  2663. 00001AD0  3A00                     move.w     D5, D0
  2664. 00001AD2  7000                     moveq.l    D0, 0x00
  2665. 00001AD4  3003                     move.w     D0, D3
  2666. 00001AD6  0C80 0000 4E20           cmpi.l     D0, 0x4E20 /* 'N ' */
  2667. 00001ADC  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2668. 00001AE0  6C20                     bge        +0x22 /* 00001B02 */
  2669. 00001AE2  7000                     moveq.l    D0, 0x00
  2670. 00001AE4  3004                     move.w     D0, D4
  2671. 00001AE6  0C80 0000 4E20           cmpi.l     D0, 0x4E20 /* 'N ' */
  2672. 00001AEC  6C14                     bge        +0x16 /* 00001B02 */
  2673. 00001AEE  7000                     moveq.l    D0, 0x00
  2674. 00001AF0  3005                     move.w     D0, D5
  2675. 00001AF2  0C80 0000 4E20           cmpi.l     D0, 0x4E20 /* 'N ' */
  2676. 00001AF8  6C08                     bge        +0xA /* 00001B02 */
  2677. 00001AFA  7000                     moveq.l    D0, 0x00
  2678. 00001AFC  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  2679. 00001B00  4E75                     rts
  2680. label00001B02:
  2681. 00001B02  3013                     move.w     D0, [A3]
  2682. 00001B04  B052                     cmp.w      D0, [A2]
  2683. 00001B06  651C                     bcs        +0x1E /* 00001B24 */
  2684. 00001B08  7000                     moveq.l    D0, 0x00
  2685. 00001B0A  3012                     move.w     D0, [A2]
  2686. 00001B0C  7200                     moveq.l    D1, 0x00
  2687. 00001B0E  3203                     move.w     D1, D3
  2688. 00001B10  2401                     move.l     D2, D1
  2689. 00001B12  E08A                     lsr        D2, 8
  2690. 00001B14  E08A                     lsr        D2, 8
  2691. 00001B16  E08A                     lsr        D2, 8
  2692. 00001B18  EE8A                     lsr        D2, 7
  2693. 00001B1A  D481                     add.l      D2, D1
  2694. 00001B1C  E282                     asr        D2, 1
  2695. 00001B1E  D480                     add.l      D2, D0
  2696. 00001B20  2002                     move.l     D0, D2
  2697. 00001B22  601A                     bra        +0x1C /* 00001B3E */
  2698. label00001B24:
  2699. 00001B24  7000                     moveq.l    D0, 0x00
  2700. 00001B26  3013                     move.w     D0, [A3]
  2701. 00001B28  7200                     moveq.l    D1, 0x00
  2702. 00001B2A  3203                     move.w     D1, D3
  2703. 00001B2C  2401                     move.l     D2, D1
  2704. 00001B2E  E08A                     lsr        D2, 8
  2705. 00001B30  E08A                     lsr        D2, 8
  2706. 00001B32  E08A                     lsr        D2, 8
  2707. 00001B34  EE8A                     lsr        D2, 7
  2708. 00001B36  D481                     add.l      D2, D1
  2709. 00001B38  E282                     asr        D2, 1
  2710. 00001B3A  D480                     add.l      D2, D0
  2711. 00001B3C  2002                     move.l     D0, D2
  2712. label00001B3E:
  2713. 00001B3E  3480                     move.w     [A2], D0
  2714. 00001B40  302B 0002                move.w     D0, [A3 + 0x2]
  2715. 00001B44  B06A 0002                cmp.w      D0, [A2 + 0x2]
  2716. 00001B48  651E                     bcs        +0x20 /* 00001B68 */
  2717. 00001B4A  7000                     moveq.l    D0, 0x00
  2718. 00001B4C  302A 0002                move.w     D0, [A2 + 0x2]
  2719. 00001B50  7200                     moveq.l    D1, 0x00
  2720. 00001B52  3204                     move.w     D1, D4
  2721. 00001B54  2401                     move.l     D2, D1
  2722. 00001B56  E08A                     lsr        D2, 8
  2723. 00001B58  E08A                     lsr        D2, 8
  2724. 00001B5A  E08A                     lsr        D2, 8
  2725. 00001B5C  EE8A                     lsr        D2, 7
  2726. 00001B5E  D481                     add.l      D2, D1
  2727. 00001B60  E282                     asr        D2, 1
  2728. 00001B62  D480                     add.l      D2, D0
  2729. 00001B64  2002                     move.l     D0, D2
  2730. 00001B66  601C                     bra        +0x1E /* 00001B84 */
  2731. label00001B68:
  2732. 00001B68  7000                     moveq.l    D0, 0x00
  2733. 00001B6A  302B 0002                move.w     D0, [A3 + 0x2]
  2734. 00001B6E  7200                     moveq.l    D1, 0x00
  2735. 00001B70  3204                     move.w     D1, D4
  2736. 00001B72  2401                     move.l     D2, D1
  2737. 00001B74  E08A                     lsr        D2, 8
  2738. 00001B76  E08A                     lsr        D2, 8
  2739. 00001B78  E08A                     lsr        D2, 8
  2740. 00001B7A  EE8A                     lsr        D2, 7
  2741. 00001B7C  D481                     add.l      D2, D1
  2742. 00001B7E  E282                     asr        D2, 1
  2743. 00001B80  D480                     add.l      D2, D0
  2744. 00001B82  2002                     move.l     D0, D2
  2745. label00001B84:
  2746. 00001B84  3540 0002                move.w     [A2 + 0x2], D0
  2747. 00001B88  302B 0004                move.w     D0, [A3 + 0x4]
  2748. 00001B8C  B06A 0004                cmp.w      D0, [A2 + 0x4]
  2749. 00001B90  651E                     bcs        +0x20 /* 00001BB0 */
  2750. 00001B92  7000                     moveq.l    D0, 0x00
  2751. 00001B94  302A 0004                move.w     D0, [A2 + 0x4]
  2752. 00001B98  7200                     moveq.l    D1, 0x00
  2753. 00001B9A  3205                     move.w     D1, D5
  2754. 00001B9C  2401                     move.l     D2, D1
  2755. 00001B9E  E08A                     lsr        D2, 8
  2756. 00001BA0  E08A                     lsr        D2, 8
  2757. 00001BA2  E08A                     lsr        D2, 8
  2758. 00001BA4  EE8A                     lsr        D2, 7
  2759. 00001BA6  D481                     add.l      D2, D1
  2760. 00001BA8  E282                     asr        D2, 1
  2761. 00001BAA  D480                     add.l      D2, D0
  2762. 00001BAC  2002                     move.l     D0, D2
  2763. 00001BAE  601C                     bra        +0x1E /* 00001BCC */
  2764. label00001BB0:
  2765. 00001BB0  7000                     moveq.l    D0, 0x00
  2766. 00001BB2  302B 0004                move.w     D0, [A3 + 0x4]
  2767. 00001BB6  7200                     moveq.l    D1, 0x00
  2768. 00001BB8  3205                     move.w     D1, D5
  2769. 00001BBA  2401                     move.l     D2, D1
  2770. 00001BBC  E08A                     lsr        D2, 8
  2771. 00001BBE  E08A                     lsr        D2, 8
  2772. 00001BC0  E08A                     lsr        D2, 8
  2773. 00001BC2  EE8A                     lsr        D2, 7
  2774. 00001BC4  D481                     add.l      D2, D1
  2775. 00001BC6  E282                     asr        D2, 1
  2776. 00001BC8  D480                     add.l      D2, D0
  2777. 00001BCA  2002                     move.l     D0, D2
  2778. label00001BCC:
  2779. 00001BCC  3540 0004                move.w     [A2 + 0x4], D0
  2780. 00001BD0  7001                     moveq.l    D0, 0x01
  2781. 00001BD2  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  2782. 00001BD6  4E75                     rts
  2783. 00001BD8  48E7 1020                movem.l    -[A7], D3,A2
  2784. 00001BDC  4FEF FFEC                lea.l      A7, [A7 - 0x14]
  2785. 00001BE0  246F 0020                movea.l    A2, [A7 + 0x20]
  2786. 00001BE4  262F 0024                move.l     D3, [A7 + 0x24]
  2787. 00001BE8  4A83                     tst.l      D3
  2788. 00001BEA  6736                     beq        +0x38 /* 00001C22 */
  2789. 00001BEC  4857                     pea.l      [A7]
  2790. 00001BEE  A874                     syscall    GetPort
  2791. 00001BF0  486F 0010                pea.l      [A7 + 0x10]
  2792. 00001BF4  4EBA F7CC                jsr        [PC - 0x834 /* 000013C2 */]
  2793. 00001BF8  3F40 0016                move.w     [A7 + 0x16], D0
  2794. 00001BFC  206F 0004                movea.l    A0, [A7 + 0x4]
  2795. 00001C00  2F68 0030 0008           move.l     [A7 + 0x8], [A0 + 0x30]
  2796. 00001C06  2F4A 000C                move.l     [A7 + 0xC], A2
  2797. 00001C0A  2F43 0010                move.l     [A7 + 0x10], D3
  2798. 00001C0E  2F28 0018                move.l     -[A7], [A0 + 0x18]
  2799. 00001C12  486D DE80                pea.l      [A5 - 0x2180]
  2800. 00001C16  486F 0010                pea.l      [A7 + 0x10]
  2801. 00001C1A  42A7                     clr.l      -[A7]
  2802. 00001C1C  4EBA FD76                jsr        [PC - 0x28A /* 00001994 */]
  2803. 00001C20  584F                     addq.w     A7, 4
  2804. label00001C22:
  2805. 00001C22  4FEF 0014                lea.l      A7, [A7 + 0x14]
  2806. 00001C26  4CDF 0408                movem.l    D3,A2, [A7]+
  2807. 00001C2A  4E75                     rts
  2808. 00001C2C  41EF 0004                lea.l      A0, [A7 + 0x4]
  2809. 00001C30  7000                     moveq.l    D0, 0x00
  2810. 00001C32  1010                     move.b     D0, [A0]
  2811. 00001C34  7200                     moveq.l    D1, 0x00
  2812. 00001C36  1228 0001                move.b     D1, [A0 + 0x1]
  2813. 00001C3A  7400                     moveq.l    D2, 0x00
  2814. 00001C3C  3401                     move.w     D2, D1
  2815. 00001C3E  E18A                     lsl        D2, 8
  2816. 00001C40  8480                     or.l       D2, D0
  2817. 00001C42  3002                     move.w     D0, D2
  2818. 00001C44  4E75                     rts
  2819. 00001C46  594F                     subq.w     A7, 4
  2820. 00001C48  41EF 0008                lea.l      A0, [A7 + 0x8]
  2821. 00001C4C  7000                     moveq.l    D0, 0x00
  2822. 00001C4E  1010                     move.b     D0, [A0]
  2823. 00001C50  7200                     moveq.l    D1, 0x00
  2824. 00001C52  1228 0002                move.b     D1, [A0 + 0x2]
  2825. 00001C56  7410                     moveq.l    D2, 0x10
  2826. 00001C58  E5A9                     lsl        D1, D2
  2827. 00001C5A  7400                     moveq.l    D2, 0x00
  2828. 00001C5C  1428 0003                move.b     D2, [A0 + 0x3]
  2829. 00001C60  2E80                     move.l     [A7], D0
  2830. 00001C62  7018                     moveq.l    D0, 0x18
  2831. 00001C64  E1AA                     lsl        D2, D0
  2832. 00001C66  8481                     or.l       D2, D1
  2833. 00001C68  7000                     moveq.l    D0, 0x00
  2834. 00001C6A  1028 0001                move.b     D0, [A0 + 0x1]
  2835. 00001C6E  E188                     lsl        D0, 8
  2836. 00001C70  8082                     or.l       D0, D2
  2837. 00001C72  8097                     or.l       D0, [A7]
  2838. 00001C74  584F                     addq.w     A7, 4
  2839. 00001C76  4E75                     rts
  2840. fn00001C78:
  2841. 00001C78  2F0A                     move.l     -[A7], A2
  2842. 00001C7A  4FEF FFF4                lea.l      A7, [A7 - 0xC]
  2843. 00001C7E  246F 0014                movea.l    A2, [A7 + 0x14]
  2844. 00001C82  2F52 0004                move.l     [A7 + 0x4], [A2]
  2845. 00001C86  2F6A 0004 0008           move.l     [A7 + 0x8], [A2 + 0x4]
  2846. 00001C8C  486F 0004                pea.l      [A7 + 0x4]
  2847. 00001C90  A870                     syscall    LocalToGlobal
  2848. 00001C92  486F 0008                pea.l      [A7 + 0x8]
  2849. 00001C96  A870                     syscall    LocalToGlobal
  2850. 00001C98  594F                     subq.w     A7, 4
  2851. 00001C9A  486F 0008                pea.l      [A7 + 0x8]
  2852. 00001C9E  AA27                     syscall    GetMaxDevice
  2853. 00001CA0  205F                     movea.l    A0, [A7]+
  2854. 00001CA2  2448                     movea.l    A2, A0
  2855. 00001CA4  200A                     move.l     D0, A2
  2856. 00001CA6  6716                     beq        +0x18 /* 00001CBE */
  2857. 00001CA8  2052                     movea.l    A0, [A2]
  2858. 00001CAA  2068 0016                movea.l    A0, [A0 + 0x16]
  2859. 00001CAE  2050                     movea.l    A0, [A0]
  2860. 00001CB0  3228 0020                move.w     D1, [A0 + 0x20]
  2861. 00001CB4  48C1                     ext.l      D1
  2862. 00001CB6  7402                     moveq.l    D2, 0x02
  2863. 00001CB8  B282                     cmp.l      D1, D2
  2864. 00001CBA  6E06                     bgt        +0x8 /* 00001CC2 */
  2865. 00001CBC  2E80                     move.l     [A7], D0
  2866. label00001CBE:
  2867. 00001CBE  7000                     moveq.l    D0, 0x00
  2868. 00001CC0  6002                     bra        +0x4 /* 00001CC4 */
  2869. label00001CC2:
  2870. 00001CC2  7001                     moveq.l    D0, 0x01
  2871. label00001CC4:
  2872. 00001CC4  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2873. 00001CC8  245F                     movea.l    A2, [A7]+
  2874. 00001CCA  4E75                     rts
  2875. 00001CCC  554F                     subq.w     A7, 2
  2876. 00001CCE  1EB8 0938                move.b     [A7], [0x00000938 /* HiliteMode */]
  2877. 00001CD2  101F                     move.b     D0, [A7]+
  2878. 00001CD4  7200                     moveq.l    D1, 0x00
  2879. 00001CD6  1200                     move.b     D1, D0
  2880. 00001CD8  0281 FFFF FF7F           andi.l     D1, 0xFFFFFF7F
  2881. 00001CDE  1F01                     move.b     -[A7], D1
  2882. 00001CE0  11DF 0938                move.b     [0x00000938 /* HiliteMode */], [A7]+
  2883. 00001CE4  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  2884. 00001CE8  A8D5                     syscall    InverRgn/InvertRgn
  2885. 00001CEA  4E75                     rts
  2886. fn00001CEC:
  2887. 00001CEC  48E7 1030                movem.l    -[A7], D3,A2,A3
  2888. 00001CF0  594F                     subq.w     A7, 4
  2889. 00001CF2  262F 0014                move.l     D3, [A7 + 0x14]
  2890. 00001CF6  266F 0018                movea.l    A3, [A7 + 0x18]
  2891. 00001CFA  4AAD 12EE                tst.l      [A5 + 0x12EE]
  2892. 00001CFE  662C                     bne        +0x2E /* 00001D2C */
  2893. 00001D00  7001                     moveq.l    D0, 0x01
  2894. 00001D02  2B40 12EE                move.l     [A5 + 0x12EE], D0
  2895. 00001D06  554F                     subq.w     A7, 2
  2896. 00001D08  2F3C 6F73 2020           move.l     -[A7], 0x6F732020 /* 'os  ' */
  2897. 00001D0E  486F 0006                pea.l      [A7 + 0x6]
  2898. 00001D12  4EAD DA66                jsr        [A5 - 0x259A]
  2899. 00001D16  301F                     move.w     D0, [A7]+
  2900. 00001D18  6612                     bne        +0x14 /* 00001D2C */
  2901. 00001D1A  7010                     moveq.l    D0, 0x10
  2902. 00001D1C  C097                     and.l      D0, [A7]
  2903. 00001D1E  670C                     beq        +0xE /* 00001D2C */
  2904. 00001D20  7020                     moveq.l    D0, 0x20
  2905. 00001D22  C097                     and.l      D0, [A7]
  2906. 00001D24  6706                     beq        +0x8 /* 00001D2C */
  2907. 00001D26  7001                     moveq.l    D0, 0x01
  2908. 00001D28  2B40 12F2                move.l     [A5 + 0x12F2 /* export_602 */], D0
  2909. label00001D2C:
  2910. 00001D2C  4AAD 12F2                tst.l      [A5 + 0x12F2 /* export_602 */]
  2911. 00001D30  671E                     beq        +0x20 /* 00001D50 */
  2912. 00001D32  594F                     subq.w     A7, 4
  2913. 00001D34  2F03                     move.l     -[A7], D3
  2914. 00001D36  2F0B                     move.l     -[A7], A3
  2915. 00001D38  3F3C 001D                move.w     -[A7], 0x1D
  2916. 00001D3C  A88F                     syscall    OSDispatch
  2917. 00001D3E  205F                     movea.l    A0, [A7]+
  2918. 00001D40  2448                     movea.l    A2, A0
  2919. 00001D42  2008                     move.l     D0, A0
  2920. 00001D44  670A                     beq        +0xC /* 00001D50 */
  2921. 00001D46  204A                     movea.l    A0, A2
  2922. 00001D48  584F                     addq.w     A7, 4
  2923. 00001D4A  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  2924. 00001D4E  4E75                     rts
  2925. label00001D50:
  2926. 00001D50  2003                     move.l     D0, D3
  2927. 00001D52  A122                     syscall    NewHandle, flags=1
  2928. 00001D54  2448                     movea.l    A2, A0
  2929. 00001D56  554F                     subq.w     A7, 2
  2930. 00001D58  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  2931. 00001D5C  301F                     move.w     D0, [A7]+
  2932. 00001D5E  3680                     move.w     [A3], D0
  2933. 00001D60  204A                     movea.l    A0, A2
  2934. 00001D62  584F                     addq.w     A7, 4
  2935. 00001D64  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  2936. 00001D68  4E75                     rts
  2937. 00001D6A  48E7 0308                movem.l    -[A7], D6,D7,A4
  2938. 00001D6E  206F 0010                movea.l    A0, [A7 + 0x10]
  2939. 00001D72  286F 0014                movea.l    A4, [A7 + 0x14]
  2940. 00001D76  226F 0018                movea.l    A1, [A7 + 0x18]
  2941. 00001D7A  202F 001C                move.l     D0, [A7 + 0x1C]
  2942. 00001D7E  1E2F 0020                move.b     D7, [A7 + 0x20]
  2943. 00001D82  2400                     move.l     D2, D0
  2944. 00001D84  2C00                     move.l     D6, D0
  2945. 00001D86  7200                     moveq.l    D1, 0x00
  2946. 00001D88  601C                     bra        +0x1E /* 00001DA6 */
  2947. label00001D8A:
  2948. 00001D8A  1018                     move.b     D0, [A0]+
  2949. 00001D8C  4A81                     tst.l      D1
  2950. 00001D8E  6708                     beq        +0xA /* 00001D98 */
  2951. 00001D90  5386                     subq.l     D6, 1
  2952. 00001D92  6712                     beq        +0x14 /* 00001DA6 */
  2953. 00001D94  12C0                     move.b     [A1]+, D0
  2954. 00001D96  600E                     bra        +0x10 /* 00001DA6 */
  2955. label00001D98:
  2956. 00001D98  B007                     cmp.b      D0, D7
  2957. 00001D9A  6604                     bne        +0x6 /* 00001DA0 */
  2958. 00001D9C  7201                     moveq.l    D1, 0x01
  2959. 00001D9E  6006                     bra        +0x8 /* 00001DA6 */
  2960. label00001DA0:
  2961. 00001DA0  5382                     subq.l     D2, 1
  2962. 00001DA2  6702                     beq        +0x4 /* 00001DA6 */
  2963. 00001DA4  18C0                     move.b     [A4]+, D0
  2964. label00001DA6:
  2965. 00001DA6  4A10                     tst.b      [A0]
  2966. 00001DA8  66E0                     bne        -0x1E /* 00001D8A */
  2967. 00001DAA  4214                     clr.b      [A4]
  2968. 00001DAC  4211                     clr.b      [A1]
  2969. 00001DAE  4CDF 10C0                movem.l    D6,D7,A4, [A7]+
  2970. 00001DB2  4E75                     rts
  2971. 00001DB4  48E7 0030                movem.l    -[A7], A2,A3
  2972. 00001DB8  266F 000C                movea.l    A3, [A7 + 0xC]
  2973. 00001DBC  246F 0010                movea.l    A2, [A7 + 0x10]
  2974. 00001DC0  3013                     move.w     D0, [A3]
  2975. 00001DC2  B052                     cmp.w      D0, [A2]
  2976. 00001DC4  662A                     bne        +0x2C /* 00001DF0 */
  2977. 00001DC6  202B 0002                move.l     D0, [A3 + 0x2]
  2978. 00001DCA  B0AA 0002                cmp.l      D0, [A2 + 0x2]
  2979. 00001DCE  6620                     bne        +0x22 /* 00001DF0 */
  2980. 00001DD0  554F                     subq.w     A7, 2
  2981. 00001DD2  486B 0006                pea.l      [A3 + 0x6]
  2982. 00001DD6  486A 0006                pea.l      [A2 + 0x6]
  2983. 00001DDA  4227                     clr.b      -[A7]
  2984. 00001DDC  4227                     clr.b      -[A7]
  2985. 00001DDE  4EAD D9BE                jsr        [A5 - 0x2642]
  2986. 00001DE2  101F                     move.b     D0, [A7]+
  2987. 00001DE4  7200                     moveq.l    D1, 0x00
  2988. 00001DE6  1200                     move.b     D1, D0
  2989. 00001DE8  2001                     move.l     D0, D1
  2990. 00001DEA  4CDF 0C00                movem.l    A2,A3, [A7]+
  2991. 00001DEE  4E75                     rts
  2992. label00001DF0:
  2993. 00001DF0  7000                     moveq.l    D0, 0x00
  2994. 00001DF2  4CDF 0C00                movem.l    A2,A3, [A7]+
  2995. 00001DF6  4E75                     rts
  2996. 00001DF8  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  2997. 00001DFC  514F                     subq.w     A7, 8
  2998. 00001DFE  246F 0020                movea.l    A2, [A7 + 0x20]
  2999. 00001E02  382F 0024                move.w     D4, [A7 + 0x24]
  3000. 00001E06  2A2F 0026                move.l     D5, [A7 + 0x26]
  3001. 00001E0A  4A2D 12F6                tst.b      [A5 + 0x12F6]
  3002. 00001E0E  662A                     bne        +0x2C /* 00001E3A */
  3003. 00001E10  1B7C 0002 12F6           move.b     [A5 + 0x12F6], 0x2
  3004. 00001E16  554F                     subq.w     A7, 2
  3005. 00001E18  2F3C 7363 7269           move.l     -[A7], 0x73637269 /* 'scri' */
  3006. 00001E1E  486F 0006                pea.l      [A7 + 0x6]
  3007. 00001E22  4EAD DA66                jsr        [A5 - 0x259A]
  3008. 00001E26  301F                     move.w     D0, [A7]+
  3009. 00001E28  6610                     bne        +0x12 /* 00001E3A */
  3010. 00001E2A  2017                     move.l     D0, [A7]
  3011. 00001E2C  E080                     asr        D0, 8
  3012. 00001E2E  7207                     moveq.l    D1, 0x07
  3013. 00001E30  B081                     cmp.l      D0, D1
  3014. 00001E32  6D06                     blt        +0x8 /* 00001E3A */
  3015. 00001E34  1B7C 0001 12F6           move.b     [A5 + 0x12F6], 0x1
  3016. label00001E3A:
  3017. 00001E3A  0C2D 0001 12F6           cmpi.b     [A5 + 0x12F6], 0x1
  3018. 00001E40  6618                     bne        +0x1A /* 00001E5A */
  3019. 00001E42  4A85                     tst.l      D5
  3020. 00001E44  670A                     beq        +0xC /* 00001E50 */
  3021. 00001E46  204A                     movea.l    A0, A2
  3022. 00001E48  3004                     move.w     D0, D4
  3023. 00001E4A  A456                     syscall    UpperText, flags=4
  3024. 00001E4C  6000 00AA                bra        +0xAC /* 00001EF8 */
  3025. label00001E50:
  3026. 00001E50  204A                     movea.l    A0, A2
  3027. 00001E52  3004                     move.w     D0, D4
  3028. 00001E54  A056                     syscall    LwrString/LowerText
  3029. 00001E56  6000 00A0                bra        +0xA2 /* 00001EF8 */
  3030. label00001E5A:
  3031. 00001E5A  42AF 0004                clr.l      [A7 + 0x4]
  3032. 00001E5E  97CB                     sub.l      A3, A3
  3033. 00001E60  554F                     subq.w     A7, 2
  3034. 00001E62  2F0A                     move.l     -[A7], A2
  3035. 00001E64  486F 000A                pea.l      [A7 + 0xA]
  3036. 00001E68  3044                     movea.w    A0, D4
  3037. 00001E6A  2F08                     move.l     -[A7], A0
  3038. 00001E6C  4EAD DA36                jsr        [A5 - 0x25CA]
  3039. 00001E70  301F                     move.w     D0, [A7]+
  3040. 00001E72  6600 0084                bne        +0x86 /* 00001EF8 */
  3041. 00001E76  7000                     moveq.l    D0, 0x00
  3042. 00001E78  A122                     syscall    NewHandle, flags=1
  3043. 00001E7A  2648                     movea.l    A3, A0
  3044. 00001E7C  200B                     move.l     D0, A3
  3045. 00001E7E  6772                     beq        +0x74 /* 00001EF2 */
  3046. 00001E80  4A85                     tst.l      D5
  3047. 00001E82  6608                     bne        +0xA /* 00001E8C */
  3048. 00001E84  203C 0000 4000           move.l     D0, 0x4000 /* '@\0' */
  3049. 00001E8A  6006                     bra        +0x8 /* 00001E92 */
  3050. label00001E8C:
  3051. 00001E8C  203C 0000 8000           move.l     D0, 0x8000
  3052. label00001E92:
  3053. 00001E92  3600                     move.w     D3, D0
  3054. 00001E94  554F                     subq.w     A7, 2
  3055. 00001E96  2F2F 0006                move.l     -[A7], [A7 + 0x6]
  3056. 00001E9A  2F0B                     move.l     -[A7], A3
  3057. 00001E9C  7001                     moveq.l    D0, 0x01
  3058. 00001E9E  3203                     move.w     D1, D3
  3059. 00001EA0  48C1                     ext.l      D1
  3060. 00001EA2  8280                     or.l       D1, D0
  3061. 00001EA4  3F01                     move.w     -[A7], D1
  3062. 00001EA6  4878 FFFF                push.l     0xFFFF
  3063. 00001EAA  2F3C 820E 0018           move.l     -[A7], 0x820E0018
  3064. 00001EB0  A8B5                     syscall    ScriptUtil
  3065. 00001EB2  301F                     move.w     D0, [A7]+
  3066. 00001EB4  594F                     subq.w     A7, 4
  3067. 00001EB6  2F0B                     move.l     -[A7], A3
  3068. 00001EB8  4EAD D9AC                jsr        [A5 - 0x2654]
  3069. 00001EBC  201F                     move.l     D0, [A7]+
  3070. 00001EBE  2A00                     move.l     D5, D0
  3071. 00001EC0  3004                     move.w     D0, D4
  3072. 00001EC2  48C0                     ext.l      D0
  3073. 00001EC4  BA80                     cmp.l      D5, D0
  3074. 00001EC6  6C0A                     bge        +0xC /* 00001ED2 */
  3075. 00001EC8  3604                     move.w     D3, D4
  3076. 00001ECA  48C3                     ext.l      D3
  3077. 00001ECC  9685                     sub.l      D3, D5
  3078. 00001ECE  3805                     move.w     D4, D5
  3079. 00001ED0  6002                     bra        +0x4 /* 00001ED4 */
  3080. label00001ED2:
  3081. 00001ED2  7600                     moveq.l    D3, 0x00
  3082. label00001ED4:
  3083. 00001ED4  3044                     movea.w    A0, D4
  3084. 00001ED6  2008                     move.l     D0, A0
  3085. 00001ED8  2053                     movea.l    A0, [A3]
  3086. 00001EDA  224A                     movea.l    A1, A2
  3087. 00001EDC  A02E                     syscall    BlockMove/BlockMoveData
  3088. 00001EDE  3044                     movea.w    A0, D4
  3089. 00001EE0  D5C8                     add.l      A2, A0
  3090. 00001EE2  6002                     bra        +0x4 /* 00001EE6 */
  3091. label00001EE4:
  3092. 00001EE4  421A                     clr.b      [A2]+
  3093. label00001EE6:
  3094. 00001EE6  2003                     move.l     D0, D3
  3095. 00001EE8  5383                     subq.l     D3, 1
  3096. 00001EEA  4A80                     tst.l      D0
  3097. 00001EEC  66F6                     bne        -0x8 /* 00001EE4 */
  3098. 00001EEE  204B                     movea.l    A0, A3
  3099. 00001EF0  A023                     syscall    DisposHandle/DisposeHandle
  3100. label00001EF2:
  3101. 00001EF2  206F 0004                movea.l    A0, [A7 + 0x4]
  3102. 00001EF6  A023                     syscall    DisposHandle/DisposeHandle
  3103. label00001EF8:
  3104. 00001EF8  504F                     addq.w     A7, 8
  3105. 00001EFA  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  3106. 00001EFE  4E75                     rts
  3107. fn00001F00:
  3108. 00001F00  594F                     subq.w     A7, 4
  3109. 00001F02  594F                     subq.w     A7, 4
  3110. 00001F04  3F3C AA6E                move.w     -[A7], 0xAA6E
  3111. 00001F08  1F3C 0001                move.b     -[A7], 0x1
  3112. 00001F0C  4EAD D9B2                jsr        [A5 - 0x264E]
  3113. 00001F10  205F                     movea.l    A0, [A7]+
  3114. 00001F12  2E88                     move.l     [A7], A0
  3115. 00001F14  594F                     subq.w     A7, 4
  3116. 00001F16  3F3C A86E                move.w     -[A7], 0xA86E
  3117. 00001F1A  1F3C 0001                move.b     -[A7], 0x1
  3118. 00001F1E  4EAD D9B2                jsr        [A5 - 0x264E]
  3119. 00001F22  205F                     movea.l    A0, [A7]+
  3120. 00001F24  B1D7                     cmpa.l     A0, [A7]
  3121. 00001F26  6608                     bne        +0xA /* 00001F30 */
  3122. 00001F28  303C 0200                move.w     D0, 0x200
  3123. 00001F2C  584F                     addq.w     A7, 4
  3124. 00001F2E  4E75                     rts
  3125. label00001F30:
  3126. 00001F30  303C 0400                move.w     D0, 0x400
  3127. 00001F34  584F                     addq.w     A7, 4
  3128. 00001F36  4E75                     rts
  3129. fn00001F38:
  3130. 00001F38  322F 0004                move.w     D1, [A7 + 0x4]
  3131. 00001F3C  3001                     move.w     D0, D1
  3132. 00001F3E  0280 0000 0800           andi.l     D0, 0x800
  3133. 00001F44  4A80                     tst.l      D0
  3134. 00001F46  6F04                     ble        +0x6 /* 00001F4C */
  3135. 00001F48  7001                     moveq.l    D0, 0x01
  3136. 00001F4A  4E75                     rts
  3137. label00001F4C:
  3138. 00001F4C  7000                     moveq.l    D0, 0x00
  3139. 00001F4E  4E75                     rts
  3140. 00001F50  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  3141. 00001F54  4FEF FFE4                lea.l      A7, [A7 - 0x1C]
  3142. 00001F58  382F 003A                move.w     D4, [A7 + 0x3A]
  3143. 00001F5C  266F 0034                movea.l    A3, [A7 + 0x34]
  3144. 00001F60  262F 0030                move.l     D3, [A7 + 0x30]
  3145. 00001F64  2443                     movea.l    A2, D3
  3146. 00001F66  7601                     moveq.l    D3, 0x01
  3147. 00001F68  4EBA F30A                jsr        [PC - 0xCF6 /* 00001274 */]
  3148. 00001F6C  3004                     move.w     D0, D4
  3149. 00001F6E  48C0                     ext.l      D0
  3150. 00001F70  7202                     moveq.l    D1, 0x02
  3151. 00001F72  B081                     cmp.l      D0, D1
  3152. 00001F74  6F28                     ble        +0x2A /* 00001F9E */
  3153. 00001F76  486F 000A                pea.l      [A7 + 0xA]
  3154. 00001F7A  AA19                     syscall    GetForeColor
  3155. 00001F7C  4857                     pea.l      [A7]
  3156. 00001F7E  AA1A                     syscall    GetBackColor
  3157. 00001F80  486F 000A                pea.l      [A7 + 0xA]
  3158. 00001F84  486F 0004                pea.l      [A7 + 0x4]
  3159. 00001F88  2F0B                     move.l     -[A7], A3
  3160. 00001F8A  4EBA FAFC                jsr        [PC - 0x504 /* 00001A88 */]
  3161. 00001F8E  4A40                     tst.w      D0
  3162. 00001F90  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3163. 00001F94  6708                     beq        +0xA /* 00001F9E */
  3164. 00001F96  7600                     moveq.l    D3, 0x00
  3165. 00001F98  486F 000A                pea.l      [A7 + 0xA]
  3166. 00001F9C  AA14                     syscall    RGBForeColor
  3167. label00001F9E:
  3168. 00001F9E  3F2A 0002                move.w     -[A7], [A2 + 0x2]
  3169. 00001FA2  3F12                     move.w     -[A7], [A2]
  3170. 00001FA4  A893                     syscall    MoveTo
  3171. 00001FA6  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  3172. 00001FAA  4267                     clr.w      -[A7]
  3173. 00001FAC  3F2A 000A                move.w     -[A7], [A2 + 0xA]
  3174. 00001FB0  A885                     syscall    DrawText
  3175. 00001FB2  486F 0006                pea.l      [A7 + 0x6]
  3176. 00001FB6  A874                     syscall    GetPort
  3177. 00001FB8  206F 0006                movea.l    A0, [A7 + 0x6]
  3178. 00001FBC  2F68 0030 0010           move.l     [A7 + 0x10], [A0 + 0x30]
  3179. 00001FC2  4A83                     tst.l      D3
  3180. 00001FC4  6758                     beq        +0x5A /* 0000201E */
  3181. 00001FC6  3F6A 0002 0016           move.w     [A7 + 0x16], [A2 + 0x2]
  3182. 00001FCC  302A 000C                move.w     D0, [A2 + 0xC]
  3183. 00001FD0  48C0                     ext.l      D0
  3184. 00001FD2  3212                     move.w     D1, [A2]
  3185. 00001FD4  48C1                     ext.l      D1
  3186. 00001FD6  9280                     sub.l      D1, D0
  3187. 00001FD8  3F41 0014                move.w     [A7 + 0x14], D1
  3188. 00001FDC  554F                     subq.w     A7, 2
  3189. 00001FDE  3F3C 0020                move.w     -[A7], 0x20 /* ' ' */
  3190. 00001FE2  A88D                     syscall    CharWidth
  3191. 00001FE4  301F                     move.w     D0, [A7]+
  3192. 00001FE6  48C0                     ext.l      D0
  3193. 00001FE8  322F 0012                move.w     D1, [A7 + 0x12]
  3194. 00001FEC  48C1                     ext.l      D1
  3195. 00001FEE  D280                     add.l      D1, D0
  3196. 00001FF0  3F41 001A                move.w     [A7 + 0x1A], D1
  3197. 00001FF4  302A 000E                move.w     D0, [A2 + 0xE]
  3198. 00001FF8  48C0                     ext.l      D0
  3199. 00001FFA  322F 0014                move.w     D1, [A7 + 0x14]
  3200. 00001FFE  48C1                     ext.l      D1
  3201. 00002000  D280                     add.l      D1, D0
  3202. 00002002  3F41 0018                move.w     [A7 + 0x18], D1
  3203. 00002006  486D 15E0                pea.l      [A5 + 0x15E0]
  3204. 0000200A  A89D                     syscall    PenPat
  3205. 0000200C  3F3C 000B                move.w     -[A7], 0xB
  3206. 00002010  A89C                     syscall    PenMode
  3207. 00002012  4878 0021                push.l     0x21 /* '!' */
  3208. 00002016  A862                     syscall    ForeColor
  3209. 00002018  486F 0014                pea.l      [A7 + 0x14]
  3210. 0000201C  A8A2                     syscall    PaintRect
  3211. label0000201E:
  3212. 0000201E  4EBA F2D6                jsr        [PC - 0xD2A /* 000012F6 */]
  3213. 00002022  3F2F 0012                move.w     -[A7], [A7 + 0x12]
  3214. 00002026  3F2F 0012                move.w     -[A7], [A7 + 0x12]
  3215. 0000202A  A893                     syscall    MoveTo
  3216. 0000202C  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  3217. 00002030  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  3218. 00002034  205F                     movea.l    A0, [A7]+
  3219. 00002036  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3220. 0000203A  4ED0                     jmp        [A0]
  3221. fn0000203C:
  3222. 0000203C  48E7 0030                movem.l    -[A7], A2,A3
  3223. 00002040  266F 000C                movea.l    A3, [A7 + 0xC]
  3224. 00002044  2453                     movea.l    A2, [A3]
  3225. 00002046  200A                     move.l     D0, A2
  3226. 00002048  671C                     beq        +0x1E /* 00002066 */
  3227. 0000204A  4A92                     tst.l      [A2]
  3228. 0000204C  6618                     bne        +0x1A /* 00002066 */
  3229. 0000204E  204A                     movea.l    A0, A2
  3230. 00002050  7000                     moveq.l    D0, 0x00
  3231. 00002052  A027                     syscall    ReallocateHandle
  3232. 00002054  554F                     subq.w     A7, 2
  3233. 00002056  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  3234. 0000205A  301F                     move.w     D0, [A7]+
  3235. 0000205C  6708                     beq        +0xA /* 00002066 */
  3236. 0000205E  4293                     clr.l      [A3]
  3237. 00002060  4CDF 0C00                movem.l    A2,A3, [A7]+
  3238. 00002064  4E75                     rts
  3239. label00002066:
  3240. 00002066  200A                     move.l     D0, A2
  3241. 00002068  670A                     beq        +0xC /* 00002074 */
  3242. 0000206A  4A92                     tst.l      [A2]
  3243. 0000206C  6706                     beq        +0x8 /* 00002074 */
  3244. 0000206E  204A                     movea.l    A0, A2
  3245. 00002070  A023                     syscall    DisposHandle/DisposeHandle
  3246. 00002072  4293                     clr.l      [A3]
  3247. label00002074:
  3248. 00002074  4CDF 0C00                movem.l    A2,A3, [A7]+
  3249. 00002078  4E75                     rts
  3250. fn0000207A:
  3251. 0000207A  48E7 1C38                movem.l    -[A7], D3,D4,D5,A2,A3,A4
  3252. 0000207E  286F 001C                movea.l    A4, [A7 + 0x1C]
  3253. 00002082  3A2F 0020                move.w     D5, [A7 + 0x20]
  3254. 00002086  266F 0024                movea.l    A3, [A7 + 0x24]
  3255. 0000208A  382F 0028                move.w     D4, [A7 + 0x28]
  3256. 0000208E  246C 008C                movea.l    A2, [A4 + 0x8C]
  3257. 00002092  6038                     bra        +0x3A /* 000020CC */
  3258. label00002094:
  3259. 00002094  7600                     moveq.l    D3, 0x00
  3260. 00002096  600C                     bra        +0xE /* 000020A4 */
  3261. label00002098:
  3262. 00002098  2003                     move.l     D0, D3
  3263. 0000209A  E588                     lsl        D0, 2
  3264. 0000209C  B5F3 0800                cmpa.l     A2, [A3 + D0]
  3265. 000020A0  670A                     beq        +0xC /* 000020AC */
  3266. 000020A2  5283                     addq.l     D3, 1
  3267. label000020A4:
  3268. 000020A4  3004                     move.w     D0, D4
  3269. 000020A6  48C0                     ext.l      D0
  3270. 000020A8  B680                     cmp.l      D3, D0
  3271. 000020AA  6DEC                     blt        -0x12 /* 00002098 */
  3272. label000020AC:
  3273. 000020AC  3004                     move.w     D0, D4
  3274. 000020AE  48C0                     ext.l      D0
  3275. 000020B0  B680                     cmp.l      D3, D0
  3276. 000020B2  6D14                     blt        +0x16 /* 000020C8 */
  3277. 000020B4  2F0A                     move.l     -[A7], A2
  3278. 000020B6  4A45                     tst.w      D5
  3279. 000020B8  6608                     bne        +0xA /* 000020C2 */
  3280. 000020BA  203C 0000 00FF           move.l     D0, 0xFF
  3281. 000020C0  6002                     bra        +0x4 /* 000020C4 */
  3282. label000020C2:
  3283. 000020C2  7000                     moveq.l    D0, 0x00
  3284. label000020C4:
  3285. 000020C4  3F00                     move.w     -[A7], D0
  3286. 000020C6  A95D                     syscall    HiliteControl
  3287. label000020C8:
  3288. 000020C8  2052                     movea.l    A0, [A2]
  3289. 000020CA  2450                     movea.l    A2, [A0]
  3290. label000020CC:
  3291. 000020CC  200A                     move.l     D0, A2
  3292. 000020CE  66C4                     bne        -0x3A /* 00002094 */
  3293. 000020D0  4AAC 00A0                tst.l      [A4 + 0xA0]
  3294. 000020D4  6728                     beq        +0x2A /* 000020FE */
  3295. 000020D6  2F0C                     move.l     -[A7], A4
  3296. 000020D8  4EBA F074                jsr        [PC - 0xF8C /* 0000114E */]
  3297. 000020DC  4EBA F100                jsr        [PC - 0xF00 /* 000011DE */]
  3298. 000020E0  4A6F 0026                tst.w      [A7 + 0x26]
  3299. 000020E4  584F                     addq.w     A7, 4
  3300. 000020E6  6708                     beq        +0xA /* 000020F0 */
  3301. 000020E8  2F2C 00A0                move.l     -[A7], [A4 + 0xA0]
  3302. 000020EC  A9D8                     syscall    TEActivate
  3303. 000020EE  6006                     bra        +0x8 /* 000020F6 */
  3304. label000020F0:
  3305. 000020F0  2F2C 00A0                move.l     -[A7], [A4 + 0xA0]
  3306. 000020F4  A9D9                     syscall    TEDeactivate
  3307. label000020F6:
  3308. 000020F6  4EBA F136                jsr        [PC - 0xECA /* 0000122E */]
  3309. 000020FA  4EBA F074                jsr        [PC - 0xF8C /* 00001170 */]
  3310. label000020FE:
  3311. 000020FE  2F0C                     move.l     -[A7], A4
  3312. 00002100  3F3C 0003                move.w     -[A7], 0x3
  3313. 00002104  4EBA 0008                jsr        [PC + 0x8 /* 0000210E */]
  3314. 00002108  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  3315. 0000210C  4E75                     rts
  3316. fn0000210E:
  3317. 0000210E  48E7 0030                movem.l    -[A7], A2,A3
  3318. 00002112  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  3319. 00002116  266F 001E                movea.l    A3, [A7 + 0x1E]
  3320. 0000211A  594F                     subq.w     A7, 4
  3321. 0000211C  A8D8                     syscall    NewRgn
  3322. 0000211E  205F                     movea.l    A0, [A7]+
  3323. 00002120  2448                     movea.l    A2, A0
  3324. 00002122  2008                     move.l     D0, A0
  3325. 00002124  674E                     beq        +0x50 /* 00002174 */
  3326. 00002126  2F0B                     move.l     -[A7], A3
  3327. 00002128  4EBA F024                jsr        [PC - 0xFDC /* 0000114E */]
  3328. 0000212C  486F 000C                pea.l      [A7 + 0xC]
  3329. 00002130  3F2F 0024                move.w     -[A7], [A7 + 0x24]
  3330. 00002134  2F0B                     move.l     -[A7], A3
  3331. 00002136  4EBA F5A0                jsr        [PC - 0xA60 /* 000016D8 */]
  3332. 0000213A  A8DA                     syscall    OpenRgn
  3333. 0000213C  486F 0016                pea.l      [A7 + 0x16]
  3334. 00002140  2F3C 0010 0010           move.l     -[A7], 0x100010
  3335. 00002146  A8B0                     syscall    FrameRoundRect
  3336. 00002148  2F0A                     move.l     -[A7], A2
  3337. 0000214A  A8DB                     syscall    CloseRgn
  3338. 0000214C  2F4B 000E                move.l     [A7 + 0xE], A3
  3339. 00002150  41EF 0016                lea.l      A0, [A7 + 0x16]
  3340. 00002154  2F48 0012                move.l     [A7 + 0x12], A0
  3341. 00002158  2F0A                     move.l     -[A7], A2
  3342. 0000215A  486D DF20                pea.l      [A5 - 0x20E0]
  3343. 0000215E  486F 0016                pea.l      [A7 + 0x16]
  3344. 00002162  42A7                     clr.l      -[A7]
  3345. 00002164  4EBA F82E                jsr        [PC - 0x7D2 /* 00001994 */]
  3346. 00002168  2F0A                     move.l     -[A7], A2
  3347. 0000216A  A8D9                     syscall    DisposRgn/DisposeRgn
  3348. 0000216C  4EBA F002                jsr        [PC - 0xFFE /* 00001170 */]
  3349. 00002170  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3350. label00002174:
  3351. 00002174  4FEF 0010                lea.l      A7, [A7 + 0x10]
  3352. 00002178  4CDF 0C00                movem.l    A2,A3, [A7]+
  3353. 0000217C  205F                     movea.l    A0, [A7]+
  3354. 0000217E  5C4F                     addq.w     A7, 6
  3355. 00002180  4ED0                     jmp        [A0]
  3356. 00002182  4FEF FF00                lea.l      A7, [A7 - 0x100]
  3357. 00002186  306F 0108                movea.w    A0, [A7 + 0x108]
  3358. 0000218A  2F08                     move.l     -[A7], A0
  3359. 0000218C  486F 0004                pea.l      [A7 + 0x4]
  3360. 00002190  4EAD DA6C                jsr        [A5 - 0x2594]
  3361. 00002194  2F2F 0104                move.l     -[A7], [A7 + 0x104]
  3362. 00002198  486F 0004                pea.l      [A7 + 0x4]
  3363. 0000219C  486D B45E                pea.l      [A5 - 0x4BA2]
  3364. 000021A0  486D B45E                pea.l      [A5 - 0x4BA2]
  3365. 000021A4  A98B                     syscall    ParamText
  3366. 000021A6  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  3367. 000021AA  A9C8                     syscall    SysBeep
  3368. 000021AC  42A7                     clr.l      -[A7]
  3369. 000021AE  42A7                     clr.l      -[A7]
  3370. 000021B0  42A7                     clr.l      -[A7]
  3371. 000021B2  302D 135E                move.w     D0, [A5 + 0x135E]
  3372. 000021B6  48C0                     ext.l      D0
  3373. 000021B8  0680 0000 0097           addi.l     D0, 0x97
  3374. 000021BE  3F00                     move.w     -[A7], D0
  3375. 000021C0  4EBA 04BE                jsr        [PC + 0x4BE /* 00002680 */]
  3376. 000021C4  4FEF 010E                lea.l      A7, [A7 + 0x10E]
  3377. 000021C8  4E75                     rts
  3378. fn000021CA:
  3379. 000021CA  4FEF FE00                lea.l      A7, [A7 - 0x200]
  3380. 000021CE  4EBA 23FA                jsr        [PC + 0x23FA /* 000045CA */]
  3381. 000021D2  4A80                     tst.l      D0
  3382. 000021D4  6758                     beq        +0x5A /* 0000222E */
  3383. 000021D6  486F 0100                pea.l      [A7 + 0x100]
  3384. 000021DA  302D 135E                move.w     D0, [A5 + 0x135E]
  3385. 000021DE  48C0                     ext.l      D0
  3386. 000021E0  0680 0000 0080           addi.l     D0, 0x80
  3387. 000021E6  3F00                     move.w     -[A7], D0
  3388. 000021E8  3F2F 020A                move.w     -[A7], [A7 + 0x20A]
  3389. 000021EC  4EAD DA4E                jsr        [A5 - 0x25B2]
  3390. 000021F0  306F 0206                movea.w    A0, [A7 + 0x206]
  3391. 000021F4  2F08                     move.l     -[A7], A0
  3392. 000021F6  486F 0004                pea.l      [A7 + 0x4]
  3393. 000021FA  4EAD DA6C                jsr        [A5 - 0x2594]
  3394. 000021FE  486F 0100                pea.l      [A7 + 0x100]
  3395. 00002202  486F 0004                pea.l      [A7 + 0x4]
  3396. 00002206  486D B45F                pea.l      [A5 - 0x4BA1]
  3397. 0000220A  486D B45F                pea.l      [A5 - 0x4BA1]
  3398. 0000220E  A98B                     syscall    ParamText
  3399. 00002210  42A7                     clr.l      -[A7]
  3400. 00002212  42A7                     clr.l      -[A7]
  3401. 00002214  486D DF58                pea.l      [A5 - 0x20A8]
  3402. 00002218  302D 135E                move.w     D0, [A5 + 0x135E]
  3403. 0000221C  48C0                     ext.l      D0
  3404. 0000221E  0680 0000 0080           addi.l     D0, 0x80
  3405. 00002224  3F00                     move.w     -[A7], D0
  3406. 00002226  4EBA 0458                jsr        [PC + 0x458 /* 00002680 */]
  3407. 0000222A  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3408. label0000222E:
  3409. 0000222E  4FEF 0200                lea.l      A7, [A7 + 0x200]
  3410. 00002232  4E75                     rts
  3411. 00002234  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  3412. 00002238  4FEF FF00                lea.l      A7, [A7 - 0x100]
  3413. 0000223C  286F 0128                movea.l    A4, [A7 + 0x128]
  3414. 00002240  7600                     moveq.l    D3, 0x00
  3415. 00002242  302D 135E                move.w     D0, [A5 + 0x135E]
  3416. 00002246  48C0                     ext.l      D0
  3417. 00002248  0680 0000 008C           addi.l     D0, 0x8C
  3418. 0000224E  3F00                     move.w     -[A7], D0
  3419. 00002250  4EAD DB62                jsr        [A5 - 0x249E]
  3420. 00002254  4A80                     tst.l      D0
  3421. 00002256  544F                     addq.w     A7, 2
  3422. 00002258  660C                     bne        +0xE /* 00002266 */
  3423. 0000225A  7000                     moveq.l    D0, 0x00
  3424. 0000225C  4FEF 0100                lea.l      A7, [A7 + 0x100]
  3425. 00002260  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  3426. 00002264  4E75                     rts
  3427. label00002266:
  3428. 00002266  302D 135E                move.w     D0, [A5 + 0x135E]
  3429. 0000226A  48C0                     ext.l      D0
  3430. 0000226C  0680 0000 0081           addi.l     D0, 0x81
  3431. 00002272  3F00                     move.w     -[A7], D0
  3432. 00002274  4EBA 1BDC                jsr        [PC + 0x1BDC /* 00003E52 */]
  3433. 00002278  594F                     subq.w     A7, 4
  3434. 0000227A  302D 135E                move.w     D0, [A5 + 0x135E]
  3435. 0000227E  48C0                     ext.l      D0
  3436. 00002280  0680 0000 0081           addi.l     D0, 0x81
  3437. 00002286  3F00                     move.w     -[A7], D0
  3438. 00002288  42A7                     clr.l      -[A7]
  3439. 0000228A  4878 FFFF                push.l     0xFFFF
  3440. 0000228E  206D 135A                movea.l    A0, [A5 + 0x135A /* export_615 */]
  3441. 00002292  4E90                     jsr        [A0]
  3442. 00002294  205F                     movea.l    A0, [A7]+
  3443. 00002296  2448                     movea.l    A2, A0
  3444. 00002298  2008                     move.l     D0, A0
  3445. 0000229A  544F                     addq.w     A7, 2
  3446. 0000229C  6700 0148                beq        +0x14A /* 000023E6 */
  3447. 000022A0  2F0A                     move.l     -[A7], A2
  3448. 000022A2  4EBA 1F96                jsr        [PC + 0x1F96 /* 0000423A */]
  3449. 000022A6  4878 0001                push.l     0x1
  3450. 000022AA  2F0A                     move.l     -[A7], A2
  3451. 000022AC  4EBA 1ACA                jsr        [PC + 0x1ACA /* 00003D78 */]
  3452. 000022B0  4AAD 8336                tst.l      [A5 - 0x7CCA]
  3453. 000022B4  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3454. 000022B8  660C                     bne        +0xE /* 000022C6 */
  3455. 000022BA  2F0A                     move.l     -[A7], A2
  3456. 000022BC  206D 134E                movea.l    A0, [A5 + 0x134E]
  3457. 000022C0  4E90                     jsr        [A0]
  3458. 000022C2  6000 0122                bra        +0x124 /* 000023E6 */
  3459. label000022C6:
  3460. 000022C6  42A7                     clr.l      -[A7]
  3461. 000022C8  2F2F 0120                move.l     -[A7], [A7 + 0x120]
  3462. 000022CC  2F2D 8336                move.l     -[A7], [A5 - 0x7CCA]
  3463. 000022D0  4EBA 0F1A                jsr        [PC + 0xF1A /* 000031EC */]
  3464. 000022D4  2F2F 0124                move.l     -[A7], [A7 + 0x124]
  3465. 000022D8  486F 0010                pea.l      [A7 + 0x10]
  3466. 000022DC  4EBA F326                jsr        [PC - 0xCDA /* 00001604 */]
  3467. 000022E0  3F3C 0004                move.w     -[A7], 0x4
  3468. 000022E4  2F0A                     move.l     -[A7], A2
  3469. 000022E6  4EBA F396                jsr        [PC - 0xC6A /* 0000167E */]
  3470. 000022EA  5C4F                     addq.w     A7, 6
  3471. 000022EC  2F08                     move.l     -[A7], A0
  3472. 000022EE  486F 0018                pea.l      [A7 + 0x18]
  3473. 000022F2  A98F                     syscall    SetDialogItemText/SetIText
  3474. 000022F4  42A7                     clr.l      -[A7]
  3475. 000022F6  2F0A                     move.l     -[A7], A2
  3476. 000022F8  4EBA 19F4                jsr        [PC + 0x19F4 /* 00003CEE */]
  3477. 000022FC  2F0A                     move.l     -[A7], A2
  3478. 000022FE  42A7                     clr.l      -[A7]
  3479. 00002300  A918                     syscall    SetWRefCon
  3480. 00002302  302D 135E                move.w     D0, [A5 + 0x135E]
  3481. 00002306  48C0                     ext.l      D0
  3482. 00002308  0680 0000 0081           addi.l     D0, 0x81
  3483. 0000230E  3F00                     move.w     -[A7], D0
  3484. 00002310  486D B47E                pea.l      [A5 - 0x4B82]
  3485. 00002314  42A7                     clr.l      -[A7]
  3486. 00002316  2F0A                     move.l     -[A7], A2
  3487. 00002318  4EBA 0F74                jsr        [PC + 0xF74 /* 0000328E */]
  3488. 0000231C  52AD B456                addq.l     [A5 - 0x4BAA], 1
  3489. 00002320  202D B456                move.l     D0, [A5 - 0x4BAA]
  3490. 00002324  E988                     lsl        D0, 4
  3491. 00002326  41ED 82E0                lea.l      A0, [A5 - 0x7D20]
  3492. 0000232A  42B0 0800                clr.l      [A0 + D0]
  3493. 0000232E  202D B456                move.l     D0, [A5 - 0x4BAA]
  3494. 00002332  E988                     lsl        D0, 4
  3495. 00002334  2648                     movea.l    A3, A0
  3496. 00002336  D7C0                     add.l      A3, D0
  3497. 00002338  42AB 0004                clr.l      [A3 + 0x4]
  3498. 0000233C  274A 0008                move.l     [A3 + 0x8], A2
  3499. 00002340  202D B456                move.l     D0, [A5 - 0x4BAA]
  3500. 00002344  E988                     lsl        D0, 4
  3501. 00002346  7201                     moveq.l    D1, 0x01
  3502. 00002348  2181 080C                move.l     [A0 + D0 + 0xC], D1
  3503. 0000234C  4EBA 26D8                jsr        [PC + 0x26D8 /* 00004A26 */]
  3504. 00002350  5340                     subq.w     D0, 1
  3505. 00002352  57C0                     seq        D0
  3506. 00002354  4400                     neg.b      D0
  3507. 00002356  4880                     ext.w      D0
  3508. 00002358  48C0                     ext.l      D0
  3509. 0000235A  2600                     move.l     D3, D0
  3510. 0000235C  4FEF 002A                lea.l      A7, [A7 + 0x2A]
  3511. 00002360  6762                     beq        +0x64 /* 000023C4 */
  3512. 00002362  3F3C 0004                move.w     -[A7], 0x4
  3513. 00002366  2F0A                     move.l     -[A7], A2
  3514. 00002368  4EBA F314                jsr        [PC - 0xCEC /* 0000167E */]
  3515. 0000236C  5C4F                     addq.w     A7, 6
  3516. 0000236E  2F08                     move.l     -[A7], A0
  3517. 00002370  486F 0004                pea.l      [A7 + 0x4]
  3518. 00002374  A990                     syscall    GetDialogItemText/GetIText
  3519. 00002376  4A17                     tst.b      [A7]
  3520. 00002378  660A                     bne        +0xC /* 00002384 */
  3521. 0000237A  1EBC 0001                move.b     [A7], 0x1
  3522. 0000237E  1F7C 0020 0001           move.b     [A7 + 0x1], 0x20 /* ' ' */
  3523. label00002384:
  3524. 00002384  4857                     pea.l      [A7]
  3525. 00002386  4EBA 2324                jsr        [PC + 0x2324 /* 000046AC */]
  3526. 0000238A  486F 0004                pea.l      [A7 + 0x4]
  3527. 0000238E  2F2F 012C                move.l     -[A7], [A7 + 0x12C]
  3528. 00002392  2F2F 012C                move.l     -[A7], [A7 + 0x12C]
  3529. 00002396  4EBA F2AC                jsr        [PC - 0xD54 /* 00001644 */]
  3530. 0000239A  4214                     clr.b      [A4]
  3531. 0000239C  302D 8334                move.w     D0, [A5 - 0x7CCC]
  3532. 000023A0  48C0                     ext.l      D0
  3533. 000023A2  7203                     moveq.l    D1, 0x03
  3534. 000023A4  B081                     cmp.l      D0, D1
  3535. 000023A6  4FEF 0010                lea.l      A7, [A7 + 0x10]
  3536. 000023AA  6D18                     blt        +0x1A /* 000023C4 */
  3537. 000023AC  2F2D 8336                move.l     -[A7], [A5 - 0x7CCA]
  3538. 000023B0  3F2D 8334                move.w     -[A7], [A5 - 0x7CCC]
  3539. 000023B4  486F 0006                pea.l      [A7 + 0x6]
  3540. 000023B8  A946                     syscall    GetMenuItemText/GetItem
  3541. 000023BA  0C17 0001                cmpi.b     [A7], 0x1
  3542. 000023BE  6604                     bne        +0x6 /* 000023C4 */
  3543. 000023C0  18AF 0001                move.b     [A4], [A7 + 0x1]
  3544. label000023C4:
  3545. 000023C4  53AD B456                subq.l     [A5 - 0x4BAA], 1
  3546. 000023C8  206A 0076                movea.l    A0, [A2 + 0x76]
  3547. 000023CC  2050                     movea.l    A0, [A0]
  3548. 000023CE  2B68 0002 B47E           move.l     [A5 - 0x4B82], [A0 + 0x2]
  3549. 000023D4  42A7                     clr.l      -[A7]
  3550. 000023D6  2F0A                     move.l     -[A7], A2
  3551. 000023D8  4EBA 199E                jsr        [PC + 0x199E /* 00003D78 */]
  3552. 000023DC  2F0A                     move.l     -[A7], A2
  3553. 000023DE  206D 134E                movea.l    A0, [A5 + 0x134E]
  3554. 000023E2  4E90                     jsr        [A0]
  3555. 000023E4  504F                     addq.w     A7, 8
  3556. label000023E6:
  3557. 000023E6  302D 135E                move.w     D0, [A5 + 0x135E]
  3558. 000023EA  48C0                     ext.l      D0
  3559. 000023EC  0680 0000 008C           addi.l     D0, 0x8C
  3560. 000023F2  3F00                     move.w     -[A7], D0
  3561. 000023F4  4EAD DB68                jsr        [A5 - 0x2498]
  3562. 000023F8  3003                     move.w     D0, D3
  3563. 000023FA  4FEF 0102                lea.l      A7, [A7 + 0x102]
  3564. 000023FE  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  3565. 00002402  4E75                     rts
  3566. 00002404  48E7 1C3A                movem.l    -[A7], D3,D4,D5,A2,A3,A4,A6
  3567. 00002408  4FEF FFE8                lea.l      A7, [A7 - 0x18]
  3568. 0000240C  2C6F 0038                movea.l    A6, [A7 + 0x38]
  3569. 00002410  286F 003C                movea.l    A4, [A7 + 0x3C]
  3570. 00002414  97CB                     sub.l      A3, A3
  3571. 00002416  7801                     moveq.l    D4, 0x01
  3572. 00002418  302D 135E                move.w     D0, [A5 + 0x135E]
  3573. 0000241C  48C0                     ext.l      D0
  3574. 0000241E  0680 0000 008C           addi.l     D0, 0x8C
  3575. 00002424  3F00                     move.w     -[A7], D0
  3576. 00002426  4EAD DB62                jsr        [A5 - 0x249E]
  3577. 0000242A  4A80                     tst.l      D0
  3578. 0000242C  544F                     addq.w     A7, 2
  3579. 0000242E  660C                     bne        +0xE /* 0000243C */
  3580. 00002430  91C8                     sub.l      A0, A0
  3581. 00002432  4FEF 0018                lea.l      A7, [A7 + 0x18]
  3582. 00002436  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  3583. 0000243A  4E75                     rts
  3584. label0000243C:
  3585. 0000243C  302D 135E                move.w     D0, [A5 + 0x135E]
  3586. 00002440  48C0                     ext.l      D0
  3587. 00002442  0680 0000 0093           addi.l     D0, 0x93
  3588. 00002448  3F00                     move.w     -[A7], D0
  3589. 0000244A  4EAD DB62                jsr        [A5 - 0x249E]
  3590. 0000244E  4A80                     tst.l      D0
  3591. 00002450  544F                     addq.w     A7, 2
  3592. 00002452  661E                     bne        +0x20 /* 00002472 */
  3593. 00002454  302D 135E                move.w     D0, [A5 + 0x135E]
  3594. 00002458  48C0                     ext.l      D0
  3595. 0000245A  0680 0000 008C           addi.l     D0, 0x8C
  3596. 00002460  3F00                     move.w     -[A7], D0
  3597. 00002462  4EAD DB68                jsr        [A5 - 0x2498]
  3598. 00002466  91C8                     sub.l      A0, A0
  3599. 00002468  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  3600. 0000246C  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  3601. 00002470  4E75                     rts
  3602. label00002472:
  3603. 00002472  302D 135E                move.w     D0, [A5 + 0x135E]
  3604. 00002476  48C0                     ext.l      D0
  3605. 00002478  0680 0000 0082           addi.l     D0, 0x82
  3606. 0000247E  3F00                     move.w     -[A7], D0
  3607. 00002480  4EBA 19D0                jsr        [PC + 0x19D0 /* 00003E52 */]
  3608. 00002484  594F                     subq.w     A7, 4
  3609. 00002486  302D 135E                move.w     D0, [A5 + 0x135E]
  3610. 0000248A  48C0                     ext.l      D0
  3611. 0000248C  0680 0000 0082           addi.l     D0, 0x82
  3612. 00002492  3F00                     move.w     -[A7], D0
  3613. 00002494  42A7                     clr.l      -[A7]
  3614. 00002496  4878 FFFF                push.l     0xFFFF
  3615. 0000249A  206D 135A                movea.l    A0, [A5 + 0x135A /* export_615 */]
  3616. 0000249E  4E90                     jsr        [A0]
  3617. 000024A0  205F                     movea.l    A0, [A7]+
  3618. 000024A2  2448                     movea.l    A2, A0
  3619. 000024A4  2008                     move.l     D0, A0
  3620. 000024A6  544F                     addq.w     A7, 2
  3621. 000024A8  6700 00F0                beq        +0xF2 /* 0000259A */
  3622. 000024AC  2F0A                     move.l     -[A7], A2
  3623. 000024AE  4EBA 1D8A                jsr        [PC + 0x1D8A /* 0000423A */]
  3624. 000024B2  4878 0001                push.l     0x1
  3625. 000024B6  2F0A                     move.l     -[A7], A2
  3626. 000024B8  4EBA 18BE                jsr        [PC + 0x18BE /* 00003D78 */]
  3627. 000024BC  4AAD 8336                tst.l      [A5 - 0x7CCA]
  3628. 000024C0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3629. 000024C4  660C                     bne        +0xE /* 000024D2 */
  3630. 000024C6  2F0A                     move.l     -[A7], A2
  3631. 000024C8  206D 134E                movea.l    A0, [A5 + 0x134E]
  3632. 000024CC  4E90                     jsr        [A0]
  3633. 000024CE  6000 00CA                bra        +0xCC /* 0000259A */
  3634. label000024D2:
  3635. 000024D2  2F0A                     move.l     -[A7], A2
  3636. 000024D4  42A7                     clr.l      -[A7]
  3637. 000024D6  A918                     syscall    SetWRefCon
  3638. 000024D8  2E8E                     move.l     [A7], A6
  3639. 000024DA  3F3C 0008                move.w     -[A7], 0x8
  3640. 000024DE  2F0A                     move.l     -[A7], A2
  3641. 000024E0  4EBA F19C                jsr        [PC - 0xE64 /* 0000167E */]
  3642. 000024E4  2F48 000E                move.l     [A7 + 0xE], A0
  3643. 000024E8  3F3C 000C                move.w     -[A7], 0xC
  3644. 000024EC  2F0A                     move.l     -[A7], A2
  3645. 000024EE  4EBA F18E                jsr        [PC - 0xE72 /* 0000167E */]
  3646. 000024F2  2F48 0018                move.l     [A7 + 0x18], A0
  3647. 000024F6  42AF 0020                clr.l      [A7 + 0x20]
  3648. 000024FA  2F0A                     move.l     -[A7], A2
  3649. 000024FC  4EBA 0E9E                jsr        [PC + 0xE9E /* 0000339C */]
  3650. 00002500  2F48 0014                move.l     [A7 + 0x14], A0
  3651. 00002504  2008                     move.l     D0, A0
  3652. 00002506  4FEF 0010                lea.l      A7, [A7 + 0x10]
  3653. 0000250A  660C                     bne        +0xE /* 00002518 */
  3654. 0000250C  2F0A                     move.l     -[A7], A2
  3655. 0000250E  206D 134E                movea.l    A0, [A5 + 0x134E]
  3656. 00002512  4E90                     jsr        [A0]
  3657. 00002514  6000 0084                bra        +0x86 /* 0000259A */
  3658. label00002518:
  3659. 00002518  554F                     subq.w     A7, 2
  3660. 0000251A  2F2D 8336                move.l     -[A7], [A5 - 0x7CCA]
  3661. 0000251E  A950                     syscall    CountMItems
  3662. 00002520  301F                     move.w     D0, [A7]+
  3663. 00002522  48C0                     ext.l      D0
  3664. 00002524  5280                     addq.l     D0, 1
  3665. 00002526  A322                     syscall    NewHandleClear, flags=3
  3666. 00002528  2F48 0010                move.l     [A7 + 0x10], A0
  3667. 0000252C  2F0A                     move.l     -[A7], A2
  3668. 0000252E  486F 0004                pea.l      [A7 + 0x4]
  3669. 00002532  A918                     syscall    SetWRefCon
  3670. 00002534  554F                     subq.w     A7, 2
  3671. 00002536  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  3672. 0000253A  301F                     move.w     D0, [A7]+
  3673. 0000253C  3600                     move.w     D3, D0
  3674. 0000253E  662E                     bne        +0x30 /* 0000256E */
  3675. 00002540  206F 0010                movea.l    A0, [A7 + 0x10]
  3676. 00002544  A029                     syscall    HLock
  3677. 00002546  206F 0010                movea.l    A0, [A7 + 0x10]
  3678. 0000254A  2F10                     move.l     -[A7], [A0]
  3679. 0000254C  2F0C                     move.l     -[A7], A4
  3680. 0000254E  2F2D 8336                move.l     -[A7], [A5 - 0x7CCA]
  3681. 00002552  4EBA 0C98                jsr        [PC + 0xC98 /* 000031EC */]
  3682. 00002556  206F 001C                movea.l    A0, [A7 + 0x1C]
  3683. 0000255A  A02A                     syscall    HUnlock
  3684. 0000255C  2F0C                     move.l     -[A7], A4
  3685. 0000255E  486F 0010                pea.l      [A7 + 0x10]
  3686. 00002562  2F0A                     move.l     -[A7], A2
  3687. 00002564  4EBA 0EC2                jsr        [PC + 0xEC2 /* 00003428 */]
  3688. 00002568  3600                     move.w     D3, D0
  3689. 0000256A  4FEF 0018                lea.l      A7, [A7 + 0x18]
  3690. label0000256E:
  3691. 0000256E  4A43                     tst.w      D3
  3692. 00002570  671E                     beq        +0x20 /* 00002590 */
  3693. 00002572  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  3694. 00002576  4EBA 108E                jsr        [PC + 0x108E /* 00003606 */]
  3695. 0000257A  2F0A                     move.l     -[A7], A2
  3696. 0000257C  206D 134E                movea.l    A0, [A5 + 0x134E]
  3697. 00002580  4E90                     jsr        [A0]
  3698. 00002582  3F03                     move.w     -[A7], D3
  3699. 00002584  3F3C 0002                move.w     -[A7], 0x2
  3700. 00002588  4EBA FC40                jsr        [PC - 0x3C0 /* 000021CA */]
  3701. 0000258C  504F                     addq.w     A7, 8
  3702. 0000258E  600A                     bra        +0xC /* 0000259A */
  3703. label00002590:
  3704. 00002590  7800                     moveq.l    D4, 0x00
  3705. 00002592  7001                     moveq.l    D0, 0x01
  3706. 00002594  B880                     cmp.l      D4, D0
  3707. 00002596  6700 FEDA                beq        -0x124 /* 00002472 */
  3708. label0000259A:
  3709. 0000259A  4A84                     tst.l      D4
  3710. 0000259C  6600 00B2                bne        +0xB4 /* 00002650 */
  3711. 000025A0  302D 135E                move.w     D0, [A5 + 0x135E]
  3712. 000025A4  48C0                     ext.l      D0
  3713. 000025A6  0680 0000 0082           addi.l     D0, 0x82
  3714. 000025AC  3F00                     move.w     -[A7], D0
  3715. 000025AE  486D B482                pea.l      [A5 - 0x4B7E]
  3716. 000025B2  486F 0006                pea.l      [A7 + 0x6]
  3717. 000025B6  2F0A                     move.l     -[A7], A2
  3718. 000025B8  4EBA 0CD4                jsr        [PC + 0xCD4 /* 0000328E */]
  3719. 000025BC  52AD B456                addq.l     [A5 - 0x4BAA], 1
  3720. 000025C0  202D B456                move.l     D0, [A5 - 0x4BAA]
  3721. 000025C4  E988                     lsl        D0, 4
  3722. 000025C6  41ED 82E0                lea.l      A0, [A5 - 0x7D20]
  3723. 000025CA  42B0 0800                clr.l      [A0 + D0]
  3724. 000025CE  202D B456                move.l     D0, [A5 - 0x4BAA]
  3725. 000025D2  E988                     lsl        D0, 4
  3726. 000025D4  D1C0                     add.l      A0, D0
  3727. 000025D6  2A08                     move.l     D5, A0
  3728. 000025D8  2045                     movea.l    A0, D5
  3729. 000025DA  42A8 0004                clr.l      [A0 + 0x4]
  3730. 000025DE  214A 0008                move.l     [A0 + 0x8], A2
  3731. 000025E2  202D B456                move.l     D0, [A5 - 0x4BAA]
  3732. 000025E6  E988                     lsl        D0, 4
  3733. 000025E8  41ED 82E0                lea.l      A0, [A5 - 0x7D20]
  3734. 000025EC  7201                     moveq.l    D1, 0x01
  3735. 000025EE  2181 080C                move.l     [A0 + D0 + 0xC], D1
  3736. 000025F2  4EBA 2432                jsr        [PC + 0x2432 /* 00004A26 */]
  3737. 000025F6  5340                     subq.w     D0, 1
  3738. 000025F8  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3739. 000025FC  660E                     bne        +0x10 /* 0000260C */
  3740. 000025FE  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  3741. 00002602  4EBA 14AC                jsr        [PC + 0x14AC /* 00003AB0 */]
  3742. 00002606  2648                     movea.l    A3, A0
  3743. 00002608  584F                     addq.w     A7, 4
  3744. 0000260A  6002                     bra        +0x4 /* 0000260E */
  3745. label0000260C:
  3746. 0000260C  97CB                     sub.l      A3, A3
  3747. label0000260E:
  3748. 0000260E  53AD B456                subq.l     [A5 - 0x4BAA], 1
  3749. 00002612  200B                     move.l     D0, A3
  3750. 00002614  670C                     beq        +0xE /* 00002622 */
  3751. 00002616  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  3752. 0000261A  4EAD F8B8                jsr        [A5 - 0x748]
  3753. 0000261E  584F                     addq.w     A7, 4
  3754. 00002620  600A                     bra        +0xC /* 0000262C */
  3755. label00002622:
  3756. 00002622  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  3757. 00002626  4EBA 0FDE                jsr        [PC + 0xFDE /* 00003606 */]
  3758. 0000262A  584F                     addq.w     A7, 4
  3759. label0000262C:
  3760. 0000262C  206F 0010                movea.l    A0, [A7 + 0x10]
  3761. 00002630  A023                     syscall    DisposHandle/DisposeHandle
  3762. 00002632  206A 0076                movea.l    A0, [A2 + 0x76]
  3763. 00002636  2050                     movea.l    A0, [A0]
  3764. 00002638  2B68 0002 B482           move.l     [A5 - 0x4B7E], [A0 + 0x2]
  3765. 0000263E  42A7                     clr.l      -[A7]
  3766. 00002640  2F0A                     move.l     -[A7], A2
  3767. 00002642  4EBA 1734                jsr        [PC + 0x1734 /* 00003D78 */]
  3768. 00002646  2F0A                     move.l     -[A7], A2
  3769. 00002648  206D 134E                movea.l    A0, [A5 + 0x134E]
  3770. 0000264C  4E90                     jsr        [A0]
  3771. 0000264E  504F                     addq.w     A7, 8
  3772. label00002650:
  3773. 00002650  302D 135E                move.w     D0, [A5 + 0x135E]
  3774. 00002654  48C0                     ext.l      D0
  3775. 00002656  0680 0000 008C           addi.l     D0, 0x8C
  3776. 0000265C  3F00                     move.w     -[A7], D0
  3777. 0000265E  4EAD DB68                jsr        [A5 - 0x2498]
  3778. 00002662  302D 135E                move.w     D0, [A5 + 0x135E]
  3779. 00002666  48C0                     ext.l      D0
  3780. 00002668  0680 0000 0093           addi.l     D0, 0x93
  3781. 0000266E  3F00                     move.w     -[A7], D0
  3782. 00002670  4EAD DB68                jsr        [A5 - 0x2498]
  3783. 00002674  204B                     movea.l    A0, A3
  3784. 00002676  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  3785. 0000267A  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  3786. 0000267E  4E75                     rts
  3787. fn00002680:
  3788. 00002680  4EBA 1F48                jsr        [PC + 0x1F48 /* 000045CA */]
  3789. 00002684  4A80                     tst.l      D0
  3790. 00002686  6732                     beq        +0x34 /* 000026BA */
  3791. 00002688  52AD 833A                addq.l     [A5 - 0x7CC6], 1
  3792. 0000268C  2B6F 000A 82DC           move.l     [A5 - 0x7D24], [A7 + 0xA]
  3793. 00002692  2B6F 000E 82D8           move.l     [A5 - 0x7D28], [A7 + 0xE]
  3794. 00002698  554F                     subq.w     A7, 2
  3795. 0000269A  3F2F 0006                move.w     -[A7], [A7 + 0x6]
  3796. 0000269E  2F2F 000A                move.l     -[A7], [A7 + 0xA]
  3797. 000026A2  42A7                     clr.l      -[A7]
  3798. 000026A4  42A7                     clr.l      -[A7]
  3799. 000026A6  42A7                     clr.l      -[A7]
  3800. 000026A8  4EBA 0072                jsr        [PC + 0x72 /* 0000271C */]
  3801. 000026AC  301F                     move.w     D0, [A7]+
  3802. 000026AE  42AD 82D8                clr.l      [A5 - 0x7D28]
  3803. 000026B2  42AD 82DC                clr.l      [A5 - 0x7D24]
  3804. 000026B6  53AD 833A                subq.l     [A5 - 0x7CC6], 1
  3805. label000026BA:
  3806. 000026BA  4E75                     rts
  3807. 000026BC  2F0C                     move.l     -[A7], A4
  3808. 000026BE  286F 000C                movea.l    A4, [A7 + 0xC]
  3809. 000026C2  226F 0008                movea.l    A1, [A7 + 0x8]
  3810. 000026C6  41ED 82E0                lea.l      A0, [A5 - 0x7D20]
  3811. 000026CA  7200                     moveq.l    D1, 0x00
  3812. 000026CC  6012                     bra        +0x14 /* 000026E0 */
  3813. label000026CE:
  3814. 000026CE  B9E8 0008                cmpa.l     A4, [A0 + 0x8]
  3815. 000026D2  6606                     bne        +0x8 /* 000026DA */
  3816. 000026D4  2149 0004                move.l     [A0 + 0x4], A1
  3817. 000026D8  600C                     bra        +0xE /* 000026E6 */
  3818. label000026DA:
  3819. 000026DA  5281                     addq.l     D1, 1
  3820. 000026DC  7010                     moveq.l    D0, 0x10
  3821. 000026DE  D1C0                     add.l      A0, D0
  3822. label000026E0:
  3823. 000026E0  B2AD B456                cmp.l      D1, [A5 - 0x4BAA]
  3824. 000026E4  6FE8                     ble        -0x16 /* 000026CE */
  3825. label000026E6:
  3826. 000026E6  285F                     movea.l    A4, [A7]+
  3827. 000026E8  205F                     movea.l    A0, [A7]+
  3828. 000026EA  504F                     addq.w     A7, 8
  3829. 000026EC  4ED0                     jmp        [A0]
  3830. 000026EE  4878 0001                push.l     0x1
  3831. 000026F2  42A7                     clr.l      -[A7]
  3832. 000026F4  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  3833. 000026F8  2F2F 0014                move.l     -[A7], [A7 + 0x14]
  3834. 000026FC  2F2F 001C                move.l     -[A7], [A7 + 0x1C]
  3835. 00002700  2F2F 0024                move.l     -[A7], [A7 + 0x24]
  3836. 00002704  3F2F 002C                move.w     -[A7], [A7 + 0x2C]
  3837. 00002708  4EBA 19D4                jsr        [PC + 0x19D4 /* 000040DE */]
  3838. 0000270C  3F40 0030                move.w     [A7 + 0x30], D0
  3839. 00002710  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  3840. 00002714  205F                     movea.l    A0, [A7]+
  3841. 00002716  4FEF 0012                lea.l      A7, [A7 + 0x12]
  3842. 0000271A  4ED0                     jmp        [A0]
  3843. fn0000271C:
  3844. 0000271C  42A7                     clr.l      -[A7]
  3845. 0000271E  4878 0001                push.l     0x1
  3846. 00002722  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  3847. 00002726  2F2F 0014                move.l     -[A7], [A7 + 0x14]
  3848. 0000272A  2F2F 001C                move.l     -[A7], [A7 + 0x1C]
  3849. 0000272E  2F2F 0024                move.l     -[A7], [A7 + 0x24]
  3850. 00002732  3F2F 002C                move.w     -[A7], [A7 + 0x2C]
  3851. 00002736  4EBA 19A6                jsr        [PC + 0x19A6 /* 000040DE */]
  3852. 0000273A  3F40 0030                move.w     [A7 + 0x30], D0
  3853. 0000273E  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  3854. 00002742  205F                     movea.l    A0, [A7]+
  3855. 00002744  4FEF 0012                lea.l      A7, [A7 + 0x12]
  3856. 00002748  4ED0                     jmp        [A0]
  3857. fn0000274A:
  3858. 0000274A  48E7 103A                movem.l    -[A7], D3,A2,A3,A4,A6
  3859. 0000274E  266F 0018                movea.l    A3, [A7 + 0x18]
  3860. 00002752  2C6F 001C                movea.l    A6, [A7 + 0x1C]
  3861. 00002756  286F 0020                movea.l    A4, [A7 + 0x20]
  3862. 0000275A  4AAD 833A                tst.l      [A5 - 0x7CC6]
  3863. 0000275E  6608                     bne        +0xA /* 00002768 */
  3864. 00002760  4EBA 1B0C                jsr        [PC + 0x1B0C /* 0000426E */]
  3865. 00002764  4A80                     tst.l      D0
  3866. 00002766  6612                     bne        +0x14 /* 0000277A */
  3867. label00002768:
  3868. 00002768  554F                     subq.w     A7, 2
  3869. 0000276A  2F0B                     move.l     -[A7], A3
  3870. 0000276C  2F0E                     move.l     -[A7], A6
  3871. 0000276E  2F0C                     move.l     -[A7], A4
  3872. 00002770  A980                     syscall    DialogSelect
  3873. 00002772  101F                     move.b     D0, [A7]+
  3874. 00002774  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  3875. 00002778  4E75                     rts
  3876. label0000277A:
  3877. 0000277A  594F                     subq.w     A7, 4
  3878. 0000277C  206D 1342                movea.l    A0, [A5 + 0x1342 /* export_612 */]
  3879. 00002780  4E90                     jsr        [A0]
  3880. 00002782  205F                     movea.l    A0, [A7]+
  3881. 00002784  2448                     movea.l    A2, A0
  3882. 00002786  200A                     move.l     D0, A2
  3883. 00002788  6758                     beq        +0x5A /* 000027E2 */
  3884. 0000278A  2F0A                     move.l     -[A7], A2
  3885. 0000278C  4EBA E9C0                jsr        [PC - 0x1640 /* 0000114E */]
  3886. 00002790  7000                     moveq.l    D0, 0x00
  3887. 00002792  3013                     move.w     D0, [A3]
  3888. 00002794  584F                     addq.w     A7, 4
  3889. 00002796  0C80 0000 0008           cmpi.l     D0, 0x8
  3890. 0000279C  6244                     bhi        +0x46 /* 000027E2 */
  3891. 0000279E  D040                     add.w      D0, D0
  3892. 000027A0  303B 0006                move.w     D0, [PC + D0.w + 0x6]
  3893. 000027A4  4EFB 0002                jmp        [PC + D0.w + 0x2]
  3894. 000027A8  003A 0034 003A           ori.b      [PC + 0x3A /* 000027E4, value 0x2F '/' */], 0x34 /* '4' */
  3895. 000027AE  0034 003A 0034           ori.b      [A4 + D0.w + 0x34], 0x3A /* ':' */
  3896. 000027B4  0012 003A                ori.b      [A2], 0x3A /* ':' */
  3897. 000027B8  0034 B5EB 0002           ori.b      [A4 + D0.w + 0x2], 0xEB
  3898. 000027BE  6622                     bne        +0x24 /* 000027E2 */
  3899. 000027C0  2F2F 0024                move.l     -[A7], [A7 + 0x24]
  3900. 000027C4  2F0A                     move.l     -[A7], A2
  3901. 000027C6  4EBA 1D2A                jsr        [PC + 0x1D2A /* 000044F2 */]
  3902. 000027CA  38BC FFFF                move.w     [A4], 0xFFFF
  3903. 000027CE  4EBA E9A0                jsr        [PC - 0x1660 /* 00001170 */]
  3904. 000027D2  7001                     moveq.l    D0, 0x01
  3905. 000027D4  504F                     addq.w     A7, 8
  3906. 000027D6  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  3907. 000027DA  4E75                     rts
  3908. 000027DC  4878 001E                push.l     0x1E
  3909. 000027E0  A863                     syscall    BackColor
  3910. label000027E2:
  3911. 000027E2  554F                     subq.w     A7, 2
  3912. 000027E4  2F0B                     move.l     -[A7], A3
  3913. 000027E6  2F0E                     move.l     -[A7], A6
  3914. 000027E8  2F0C                     move.l     -[A7], A4
  3915. 000027EA  A980                     syscall    DialogSelect
  3916. 000027EC  101F                     move.b     D0, [A7]+
  3917. 000027EE  1600                     move.b     D3, D0
  3918. 000027F0  200A                     move.l     D0, A2
  3919. 000027F2  6704                     beq        +0x6 /* 000027F8 */
  3920. 000027F4  4EBA E97A                jsr        [PC - 0x1686 /* 00001170 */]
  3921. label000027F8:
  3922. 000027F8  1003                     move.b     D0, D3
  3923. 000027FA  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  3924. 000027FE  4E75                     rts
  3925. 00002800  48E7 1820                movem.l    -[A7], D3,D4,A2
  3926. 00002804  514F                     subq.w     A7, 8
  3927. 00002806  246F 0018                movea.l    A2, [A7 + 0x18]
  3928. 0000280A  382F 001C                move.w     D4, [A7 + 0x1C]
  3929. 0000280E  2F0A                     move.l     -[A7], A2
  3930. 00002810  4EBA E93C                jsr        [PC - 0x16C4 /* 0000114E */]
  3931. 00002814  4EBA 1A58                jsr        [PC + 0x1A58 /* 0000426E */]
  3932. 00002818  4A80                     tst.l      D0
  3933. 0000281A  584F                     addq.w     A7, 4
  3934. 0000281C  6722                     beq        +0x24 /* 00002840 */
  3935. 0000281E  302F 001E                move.w     D0, [A7 + 0x1E]
  3936. 00002822  48C0                     ext.l      D0
  3937. 00002824  3044                     movea.w    A0, D4
  3938. 00002826  2608                     move.l     D3, A0
  3939. 00002828  7410                     moveq.l    D2, 0x10
  3940. 0000282A  E5AB                     lsl        D3, D2
  3941. 0000282C  8680                     or.l       D3, D0
  3942. 0000282E  2F2A 0018                move.l     -[A7], [A2 + 0x18]
  3943. 00002832  486D DF60                pea.l      [A5 - 0x20A0]
  3944. 00002836  2F03                     move.l     -[A7], D3
  3945. 00002838  42A7                     clr.l      -[A7]
  3946. 0000283A  4EBA F158                jsr        [PC - 0xEA8 /* 00001994 */]
  3947. 0000283E  6014                     bra        +0x16 /* 00002854 */
  3948. label00002840:
  3949. 00002840  4857                     pea.l      [A7]
  3950. 00002842  3F04                     move.w     -[A7], D4
  3951. 00002844  2F0A                     move.l     -[A7], A2
  3952. 00002846  4EBA EE90                jsr        [PC - 0x1170 /* 000016D8 */]
  3953. 0000284A  486F 000A                pea.l      [A7 + 0xA]
  3954. 0000284E  A8A1                     syscall    FrameRect
  3955. 00002850  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3956. label00002854:
  3957. 00002854  4EBA E91A                jsr        [PC - 0x16E6 /* 00001170 */]
  3958. 00002858  504F                     addq.w     A7, 8
  3959. 0000285A  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  3960. 0000285E  4E75                     rts
  3961. fn00002860:
  3962. 00002860  48E7 1030                movem.l    -[A7], D3,A2,A3
  3963. 00002864  4FEF FFF6                lea.l      A7, [A7 - 0xA]
  3964. 00002868  266F 001E                movea.l    A3, [A7 + 0x1E]
  3965. 0000286C  7001                     moveq.l    D0, 0x01
  3966. 0000286E  2F40 0004                move.l     [A7 + 0x4], D0
  3967. 00002872  7000                     moveq.l    D0, 0x00
  3968. 00002874  3013                     move.w     D0, [A3]
  3969. 00002876  5780                     subq.l     D0, 3
  3970. 00002878  6712                     beq        +0x14 /* 0000288C */
  3971. 0000287A  5180                     subq.l     D0, 8
  3972. 0000287C  5980                     subq.l     D0, 4
  3973. 0000287E  6702                     beq        +0x4 /* 00002882 */
  3974. 00002880  602A                     bra        +0x2C /* 000028AC */
  3975. label00002882:
  3976. 00002882  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3977. 00002886  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  3978. 0000288A  4E75                     rts
  3979. label0000288C:
  3980. 0000288C  3F2B 000E                move.w     -[A7], [A3 + 0xE]
  3981. 00002890  202B 0002                move.l     D0, [A3 + 0x2]
  3982. 00002894  0280 0000 00FF           andi.l     D0, 0xFF
  3983. 0000289A  1F00                     move.b     -[A7], D0
  3984. 0000289C  2F2F 001E                move.l     -[A7], [A7 + 0x1E]
  3985. 000028A0  4EBA 259E                jsr        [PC + 0x259E /* 00004E40 */]
  3986. 000028A4  4A40                     tst.w      D0
  3987. 000028A6  504F                     addq.w     A7, 8
  3988. 000028A8  6600 0396                bne        +0x398 /* 00002C40 */
  3989. label000028AC:
  3990. 000028AC  4A6F 0022                tst.w      [A7 + 0x22]
  3991. 000028B0  6718                     beq        +0x1A /* 000028CA */
  3992. 000028B2  486F 0004                pea.l      [A7 + 0x4]
  3993. 000028B6  2F0B                     move.l     -[A7], A3
  3994. 000028B8  2F2F 0022                move.l     -[A7], [A7 + 0x22]
  3995. 000028BC  4EBA 1774                jsr        [PC + 0x1774 /* 00004032 */]
  3996. 000028C0  4A80                     tst.l      D0
  3997. 000028C2  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3998. 000028C6  6600 0378                bne        +0x37A /* 00002C40 */
  3999. label000028CA:
  4000. 000028CA  594F                     subq.w     A7, 4
  4001. 000028CC  2F2F 001E                move.l     -[A7], [A7 + 0x1E]
  4002. 000028D0  A917                     syscall    GetWRefCon
  4003. 000028D2  201F                     move.l     D0, [A7]+
  4004. 000028D4  2440                     movea.l    A2, D0
  4005. 000028D6  7000                     moveq.l    D0, 0x00
  4006. 000028D8  3013                     move.w     D0, [A3]
  4007. 000028DA  4EAD D916                jsr        [A5 - 0x26EA]
  4008. 000028DE  0256 0000                andi.w     [A6], 0x0
  4009. 000028E2  0000 0000                ori.b      D0, 0x0
  4010. 000028E6  000F 0006                ori.b      A7, 0x6
  4011. 000028EA  0000 0000                ori.b      D0, 0x0
  4012. 000028EE  0026 0000                ori.b      -[A6], 0x0
  4013. 000028F2  0001 01FC                ori.b      D1, 0xFC
  4014. 000028F6  0000 0003                ori.b      D0, 0x3
  4015. 000028FA  00EE 0000                ori.?      [A6 + 0x0], 0xFFFFFFFFFFFFFFFF
  4016. 000028FE  0005 00E8                ori.b      D5, 0xE8
  4017. 00002902  0000 0006                ori.b      D0, 0x6
  4018. 00002906  007A 0000 0008           ori.w      [PC + 0x8 /* 00002910, value 0xF */], 0x0
  4019. 0000290C  004E 0000                ori.w      A6, 0x0
  4020. 00002910  000F 0030                ori.b      A7, 0x30 /* '0' */
  4021. 00002914  4AAD 833A                tst.l      [A5 - 0x7CC6]
  4022. 00002918  6712                     beq        +0x14 /* 0000292C */
  4023. 0000291A  4AAD 82DC                tst.l      [A5 - 0x7D24]
  4024. 0000291E  670C                     beq        +0xE /* 0000292C */
  4025. 00002920  2F2F 001A                move.l     -[A7], [A7 + 0x1A]
  4026. 00002924  206D 82DC                movea.l    A0, [A5 - 0x7D24]
  4027. 00002928  4E90                     jsr        [A0]
  4028. 0000292A  584F                     addq.w     A7, 4
  4029. label0000292C:
  4030. 0000292C  200A                     move.l     D0, A2
  4031. 0000292E  6700 0204                beq        +0x206 /* 00002B34 */
  4032. 00002932  2F0A                     move.l     -[A7], A2
  4033. 00002934  2F2F 001E                move.l     -[A7], [A7 + 0x1E]
  4034. 00002938  4EBA 0EFC                jsr        [PC + 0xEFC /* 00003836 */]
  4035. 0000293C  504F                     addq.w     A7, 8
  4036. 0000293E  6000 01F4                bra        +0x1F6 /* 00002B34 */
  4037. 00002942  202B 0002                move.l     D0, [A3 + 0x2]
  4038. 00002946  0280 FF00 0000           andi.l     D0, 0xFF000000
  4039. 0000294C  7218                     moveq.l    D1, 0x18
  4040. 0000294E  E2A8                     lsr        D0, D1
  4041. 00002950  5380                     subq.l     D0, 1
  4042. 00002952  6600 01E0                bne        +0x1E2 /* 00002B34 */
  4043. 00002956  4EBA EA94                jsr        [PC - 0x156C /* 000013EC */]
  4044. 0000295A  302B 000E                move.w     D0, [A3 + 0xE]
  4045. 0000295E  7201                     moveq.l    D1, 0x01
  4046. 00002960  C081                     and.l      D0, D1
  4047. 00002962  56C0                     sne        D0
  4048. 00002964  4400                     neg.b      D0
  4049. 00002966  4880                     ext.w      D0
  4050. 00002968  48C0                     ext.l      D0
  4051. 0000296A  2F00                     move.l     -[A7], D0
  4052. 0000296C  2F0A                     move.l     -[A7], A2
  4053. 0000296E  2F2F 0022                move.l     -[A7], [A7 + 0x22]
  4054. 00002972  4EBA 1562                jsr        [PC + 0x1562 /* 00003ED6 */]
  4055. 00002976  4FEF 0016                lea.l      A7, [A7 + 0x16]
  4056. 0000297A  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  4057. 0000297E  4E75                     rts
  4058. 00002980  7000                     moveq.l    D0, 0x00
  4059. 00002982  102D 81A0                move.b     D0, [A5 - 0x7E60]
  4060. 00002986  7202                     moveq.l    D1, 0x02
  4061. 00002988  B081                     cmp.l      D0, D1
  4062. 0000298A  6D00 01A8                blt        +0x1AA /* 00002B34 */
  4063. 0000298E  4AAD 82D8                tst.l      [A5 - 0x7D28]
  4064. 00002992  6700 01A0                beq        +0x1A2 /* 00002B34 */
  4065. 00002996  2F2F 001A                move.l     -[A7], [A7 + 0x1A]
  4066. 0000299A  4EBA E7B2                jsr        [PC - 0x184E /* 0000114E */]
  4067. 0000299E  206F 001E                movea.l    A0, [A7 + 0x1E]
  4068. 000029A2  4868 0010                pea.l      [A0 + 0x10]
  4069. 000029A6  4EBA F2D0                jsr        [PC - 0xD30 /* 00001C78 */]
  4070. 000029AA  4A40                     tst.w      D0
  4071. 000029AC  504F                     addq.w     A7, 8
  4072. 000029AE  6700 0184                beq        +0x186 /* 00002B34 */
  4073. 000029B2  2F2F 001A                move.l     -[A7], [A7 + 0x1A]
  4074. 000029B6  A922                     syscall    BeginUpdate
  4075. 000029B8  206F 001A                movea.l    A0, [A7 + 0x1A]
  4076. 000029BC  4868 0010                pea.l      [A0 + 0x10]
  4077. 000029C0  2F2D 82D8                move.l     -[A7], [A5 - 0x7D28]
  4078. 000029C4  AA0E                     syscall    FillCRect
  4079. 000029C6  2F2F 001A                move.l     -[A7], [A7 + 0x1A]
  4080. 000029CA  206F 001E                movea.l    A0, [A7 + 0x1E]
  4081. 000029CE  2F28 0018                move.l     -[A7], [A0 + 0x18]
  4082. 000029D2  A978                     syscall    UpdtDialog
  4083. 000029D4  2F2F 001A                move.l     -[A7], [A7 + 0x1A]
  4084. 000029D8  A923                     syscall    EndUpdate
  4085. 000029DA  4EBA E794                jsr        [PC - 0x186C /* 00001170 */]
  4086. 000029DE  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4087. 000029E2  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  4088. 000029E6  4E75                     rts
  4089. 000029E8  262B 0002                move.l     D3, [A3 + 0x2]
  4090. 000029EC  0283 0000 00FF           andi.l     D3, 0xFF
  4091. 000029F2  302B 000E                move.w     D0, [A3 + 0xE]
  4092. 000029F6  0280 0000 0100           andi.l     D0, 0x100
  4093. 000029FC  6726                     beq        +0x28 /* 00002A24 */
  4094. 000029FE  0C03 002E                cmpi.b     D3, 0x2E /* '.' */
  4095. 00002A02  6720                     beq        +0x22 /* 00002A24 */
  4096. 00002A04  3F2B 000E                move.w     -[A7], [A3 + 0xE]
  4097. 00002A08  594F                     subq.w     A7, 4
  4098. 00002A0A  1003                     move.b     D0, D3
  4099. 00002A0C  4880                     ext.w      D0
  4100. 00002A0E  3F00                     move.w     -[A7], D0
  4101. 00002A10  A93E                     syscall    MenuKey
  4102. 00002A12  201F                     move.l     D0, [A7]+
  4103. 00002A14  2F00                     move.l     -[A7], D0
  4104. 00002A16  4EAD E338                jsr        [A5 - 0x1CC8]
  4105. 00002A1A  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4106. 00002A1E  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  4107. 00002A22  4E75                     rts
  4108. label00002A24:
  4109. 00002A24  1003                     move.b     D0, D3
  4110. 00002A26  4880                     ext.w      D0
  4111. 00002A28  48C0                     ext.l      D0
  4112. 00002A2A  4EAD D916                jsr        [A5 - 0x26EA]
  4113. 00002A2E  002A 0000 0003           ori.b      [A2 + 0x3], 0x0
  4114. 00002A34  0000 002E                ori.b      D0, 0x2E /* '.' */
  4115. 00002A38  0004 0000                ori.b      D4, 0x0
  4116. 00002A3C  0003 005E                ori.b      D3, 0x5E /* '^' */
  4117. 00002A40  0000 0009                ori.b      D0, 0x9 /* '\t' */
  4118. 00002A44  0096 0000 000D           ori.l      [A6], 0xD /* '\r' */
  4119. 00002A4A  0052 0000                ori.w      [A2], 0x0
  4120. 00002A4E  001B 006E                ori.b      [A3]+, 0x6E /* 'n' */
  4121. 00002A52  0000 002E                ori.b      D0, 0x2E /* '.' */
  4122. 00002A56  005C 200A                ori.w      [A4]+, 0x200A /* ' \n' */
  4123. 00002A5A  6700 00D8                beq        +0xDA /* 00002B34 */
  4124. 00002A5E  4AAA 0004                tst.l      [A2 + 0x4]
  4125. 00002A62  6700 00D0                beq        +0xD2 /* 00002B34 */
  4126. 00002A66  4AAA 0014                tst.l      [A2 + 0x14]
  4127. 00002A6A  6716                     beq        +0x18 /* 00002A82 */
  4128. 00002A6C  1F03                     move.b     -[A7], D3
  4129. 00002A6E  2F0A                     move.l     -[A7], A2
  4130. 00002A70  2F2F 0020                move.l     -[A7], [A7 + 0x20]
  4131. 00002A74  4EBA 1246                jsr        [PC + 0x1246 /* 00003CBC */]
  4132. 00002A78  4FEF 0014                lea.l      A7, [A7 + 0x14]
  4133. 00002A7C  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  4134. 00002A80  4E75                     rts
  4135. label00002A82:
  4136. 00002A82  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  4137. 00002A86  4EAD F908                jsr        [A5 - 0x6F8]
  4138. 00002A8A  4A80                     tst.l      D0
  4139. 00002A8C  584F                     addq.w     A7, 4
  4140. 00002A8E  6600 00A4                bne        +0xA6 /* 00002B34 */
  4141. 00002A92  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4142. 00002A96  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  4143. 00002A9A  4E75                     rts
  4144. 00002A9C  3F3C 0001                move.w     -[A7], 0x1
  4145. 00002AA0  2F2F 001C                move.l     -[A7], [A7 + 0x1C]
  4146. 00002AA4  4EBA 15E4                jsr        [PC + 0x15E4 /* 0000408A */]
  4147. 00002AA8  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4148. 00002AAC  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  4149. 00002AB0  4E75                     rts
  4150. 00002AB2  302B 000E                move.w     D0, [A3 + 0xE]
  4151. 00002AB6  0280 0000 0100           andi.l     D0, 0x100
  4152. 00002ABC  6776                     beq        +0x78 /* 00002B34 */
  4153. 00002ABE  4AAD 833A                tst.l      [A5 - 0x7CC6]
  4154. 00002AC2  6670                     bne        +0x72 /* 00002B34 */
  4155. 00002AC4  3F3C 0002                move.w     -[A7], 0x2
  4156. 00002AC8  2F2F 001C                move.l     -[A7], [A7 + 0x1C]
  4157. 00002ACC  4EBA 15BC                jsr        [PC + 0x15BC /* 0000408A */]
  4158. 00002AD0  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4159. 00002AD4  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  4160. 00002AD8  4E75                     rts
  4161. 00002ADA  200A                     move.l     D0, A2
  4162. 00002ADC  6756                     beq        +0x58 /* 00002B34 */
  4163. 00002ADE  4227                     clr.b      -[A7]
  4164. 00002AE0  2F0A                     move.l     -[A7], A2
  4165. 00002AE2  2F2F 0020                move.l     -[A7], [A7 + 0x20]
  4166. 00002AE6  4EBA 1146                jsr        [PC + 0x1146 /* 00003C2E */]
  4167. 00002AEA  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4168. 00002AEE  6044                     bra        +0x46 /* 00002B34 */
  4169. 00002AF0  200A                     move.l     D0, A2
  4170. 00002AF2  6740                     beq        +0x42 /* 00002B34 */
  4171. 00002AF4  2EAB 000A                move.l     [A7], [A3 + 0xA]
  4172. 00002AF8  2F2F 001A                move.l     -[A7], [A7 + 0x1A]
  4173. 00002AFC  4EBA E650                jsr        [PC - 0x19B0 /* 0000114E */]
  4174. 00002B00  486F 0004                pea.l      [A7 + 0x4]
  4175. 00002B04  A871                     syscall    GlobalToLocal
  4176. 00002B06  4EBA E668                jsr        [PC - 0x1998 /* 00001170 */]
  4177. 00002B0A  2F2F 001E                move.l     -[A7], [A7 + 0x1E]
  4178. 00002B0E  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  4179. 00002B12  A984                     syscall    FindDialogItem/FindDItem
  4180. 00002B14  301F                     move.w     D0, [A7]+
  4181. 00002B16  206F 001C                movea.l    A0, [A7 + 0x1C]
  4182. 00002B1A  B068 00A4                cmp.w      D0, [A0 + 0xA4]
  4183. 00002B1E  544F                     addq.w     A7, 2
  4184. 00002B20  6612                     bne        +0x14 /* 00002B34 */
  4185. 00002B22  1F3C 0002                move.b     -[A7], 0x2
  4186. 00002B26  2F0A                     move.l     -[A7], A2
  4187. 00002B28  2F2F 0020                move.l     -[A7], [A7 + 0x20]
  4188. 00002B2C  4EBA 1100                jsr        [PC + 0x1100 /* 00003C2E */]
  4189. 00002B30  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4190. label00002B34:
  4191. 00002B34  4AAF 0004                tst.l      [A7 + 0x4]
  4192. 00002B38  671E                     beq        +0x20 /* 00002B58 */
  4193. 00002B3A  4878 0001                push.l     0x1
  4194. 00002B3E  486F 000C                pea.l      [A7 + 0xC]
  4195. 00002B42  486F 0022                pea.l      [A7 + 0x22]
  4196. 00002B46  2F0B                     move.l     -[A7], A3
  4197. 00002B48  4EBA FC00                jsr        [PC - 0x400 /* 0000274A */]
  4198. 00002B4C  7200                     moveq.l    D1, 0x00
  4199. 00002B4E  1200                     move.b     D1, D0
  4200. 00002B50  2601                     move.l     D3, D1
  4201. 00002B52  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4202. 00002B56  6016                     bra        +0x18 /* 00002B6E */
  4203. label00002B58:
  4204. 00002B58  554F                     subq.w     A7, 2
  4205. 00002B5A  2F0B                     move.l     -[A7], A3
  4206. 00002B5C  486F 0020                pea.l      [A7 + 0x20]
  4207. 00002B60  486F 0012                pea.l      [A7 + 0x12]
  4208. 00002B64  A980                     syscall    DialogSelect
  4209. 00002B66  101F                     move.b     D0, [A7]+
  4210. 00002B68  7200                     moveq.l    D1, 0x00
  4211. 00002B6A  1200                     move.b     D1, D0
  4212. 00002B6C  2601                     move.l     D3, D1
  4213. label00002B6E:
  4214. 00002B6E  4A83                     tst.l      D3
  4215. 00002B70  6700 00CE                beq        +0xD0 /* 00002C40 */
  4216. 00002B74  302F 0008                move.w     D0, [A7 + 0x8]
  4217. 00002B78  48C0                     ext.l      D0
  4218. 00002B7A  0C80 0000 000C           cmpi.l     D0, 0xC
  4219. 00002B80  6200 00BE                bhi        +0xC0 /* 00002C40 */
  4220. 00002B84  D040                     add.w      D0, D0
  4221. 00002B86  303B 0006                move.w     D0, [PC + D0.w + 0x6]
  4222. 00002B8A  4EFB 0002                jmp        [PC + D0.w + 0x2]
  4223. 00002B8E  00B2 001A 001A 00B2      ori.l      [A2 + D0.w - 0x78], 0x1A001A
  4224. 00002B96  0046 0092                ori.w      D6, 0x92
  4225. 00002B9A  0092 0026 007A           ori.l      [A2], 0x26007A /* '&\0z' */
  4226. 00002BA0  00B2 00B2 00B2 0086      ori.l      [A2 + D0.w - 0x122], 0xB200B2
  4227. 00002BA8  3F2F 0008                move.w     -[A7], [A7 + 0x8]
  4228. 00002BAC  4EBA 1C44                jsr        [PC + 0x1C44 /* 000047F2 */]
  4229. 00002BB0  6000 008E                bra        +0x90 /* 00002C40 */
  4230. 00002BB4  1F3C 0001                move.b     -[A7], 0x1
  4231. 00002BB8  2F0A                     move.l     -[A7], A2
  4232. 00002BBA  2F2F 0020                move.l     -[A7], [A7 + 0x20]
  4233. 00002BBE  4EBA 106E                jsr        [PC + 0x106E /* 00003C2E */]
  4234. 00002BC2  2F2B 000A                move.l     -[A7], [A3 + 0xA]
  4235. 00002BC6  2F2F 0028                move.l     -[A7], [A7 + 0x28]
  4236. 00002BCA  4EBA 0B7A                jsr        [PC + 0xB7A /* 00003746 */]
  4237. 00002BCE  4FEF 0012                lea.l      A7, [A7 + 0x12]
  4238. 00002BD2  606C                     bra        +0x6E /* 00002C40 */
  4239. 00002BD4  0C53 0003                cmpi.w     [A3], 0x3
  4240. 00002BD8  6706                     beq        +0x8 /* 00002BE0 */
  4241. 00002BDA  0C53 0005                cmpi.w     [A3], 0x5
  4242. 00002BDE  6610                     bne        +0x12 /* 00002BF0 */
  4243. label00002BE0:
  4244. 00002BE0  200A                     move.l     D0, A2
  4245. 00002BE2  670C                     beq        +0xE /* 00002BF0 */
  4246. 00002BE4  2F0A                     move.l     -[A7], A2
  4247. 00002BE6  2F2F 001E                move.l     -[A7], [A7 + 0x1E]
  4248. 00002BEA  4EBA 0C4A                jsr        [PC + 0xC4A /* 00003836 */]
  4249. 00002BEE  504F                     addq.w     A7, 8
  4250. label00002BF0:
  4251. 00002BF0  200A                     move.l     D0, A2
  4252. 00002BF2  674C                     beq        +0x4E /* 00002C40 */
  4253. 00002BF4  1F3C 0002                move.b     -[A7], 0x2
  4254. 00002BF8  2F0A                     move.l     -[A7], A2
  4255. 00002BFA  2F2F 0020                move.l     -[A7], [A7 + 0x20]
  4256. 00002BFE  4EBA 102E                jsr        [PC + 0x102E /* 00003C2E */]
  4257. 00002C02  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4258. 00002C06  6038                     bra        +0x3A /* 00002C40 */
  4259. 00002C08  2F2F 001A                move.l     -[A7], [A7 + 0x1A]
  4260. 00002C0C  4EBA 0E14                jsr        [PC + 0xE14 /* 00003A22 */]
  4261. 00002C10  584F                     addq.w     A7, 4
  4262. 00002C12  602C                     bra        +0x2E /* 00002C40 */
  4263. 00002C14  2F2F 001A                move.l     -[A7], [A7 + 0x1A]
  4264. 00002C18  4EBA 0D64                jsr        [PC + 0xD64 /* 0000397E */]
  4265. 00002C1C  584F                     addq.w     A7, 4
  4266. 00002C1E  6020                     bra        +0x22 /* 00002C40 */
  4267. 00002C20  4AAD 8330                tst.l      [A5 - 0x7CD0]
  4268. 00002C24  671A                     beq        +0x1C /* 00002C40 */
  4269. 00002C26  2F2F 001A                move.l     -[A7], [A7 + 0x1A]
  4270. 00002C2A  4EBA 11FC                jsr        [PC + 0x11FC /* 00003E28 */]
  4271. 00002C2E  200A                     move.l     D0, A2
  4272. 00002C30  584F                     addq.w     A7, 4
  4273. 00002C32  670C                     beq        +0xE /* 00002C40 */
  4274. 00002C34  2F0A                     move.l     -[A7], A2
  4275. 00002C36  2F2F 001E                move.l     -[A7], [A7 + 0x1E]
  4276. 00002C3A  4EBA 0EEC                jsr        [PC + 0xEEC /* 00003B28 */]
  4277. 00002C3E  504F                     addq.w     A7, 8
  4278. label00002C40:
  4279. 00002C40  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4280. 00002C44  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  4281. 00002C48  4E75                     rts
  4282. 00002C4A  48E7 1C3A                movem.l    -[A7], D3,D4,D5,A2,A3,A4,A6
  4283. 00002C4E  286F 0020                movea.l    A4, [A7 + 0x20]
  4284. 00002C52  594F                     subq.w     A7, 4
  4285. 00002C54  2F0C                     move.l     -[A7], A4
  4286. 00002C56  A917                     syscall    GetWRefCon
  4287. 00002C58  201F                     move.l     D0, [A7]+
  4288. 00002C5A  2440                     movea.l    A2, D0
  4289. 00002C5C  7601                     moveq.l    D3, 0x01
  4290. 00002C5E  97CB                     sub.l      A3, A3
  4291. 00002C60  42A7                     clr.l      -[A7]
  4292. 00002C62  42A7                     clr.l      -[A7]
  4293. 00002C64  2F0C                     move.l     -[A7], A4
  4294. 00002C66  4EBA 13CA                jsr        [PC + 0x13CA /* 00004032 */]
  4295. 00002C6A  2A00                     move.l     D5, D0
  4296. 00002C6C  4A85                     tst.l      D5
  4297. 00002C6E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4298. 00002C72  660C                     bne        +0xE /* 00002C80 */
  4299. 00002C74  200A                     move.l     D0, A2
  4300. 00002C76  6708                     beq        +0xA /* 00002C80 */
  4301. 00002C78  4AAA 0014                tst.l      [A2 + 0x14]
  4302. 00002C7C  6600 009C                bne        +0x9E /* 00002D1A */
  4303. label00002C80:
  4304. 00002C80  4AAD AF7A                tst.l      [A5 - 0x5086]
  4305. 00002C84  6706                     beq        +0x8 /* 00002C8C */
  4306. 00002C86  266D AF7A                movea.l    A3, [A5 - 0x5086]
  4307. 00002C8A  6004                     bra        +0x6 /* 00002C90 */
  4308. label00002C8C:
  4309. 00002C8C  266C 00A0                movea.l    A3, [A4 + 0xA0]
  4310. label00002C90:
  4311. 00002C90  200B                     move.l     D0, A3
  4312. 00002C92  6770                     beq        +0x72 /* 00002D04 */
  4313. 00002C94  2C53                     movea.l    A6, [A3]
  4314. 00002C96  302E 0020                move.w     D0, [A6 + 0x20]
  4315. 00002C9A  B06E 0022                cmp.w      D0, [A6 + 0x22]
  4316. 00002C9E  56C0                     sne        D0
  4317. 00002CA0  4400                     neg.b      D0
  4318. 00002CA2  4880                     ext.w      D0
  4319. 00002CA4  48C0                     ext.l      D0
  4320. 00002CA6  2800                     move.l     D4, D0
  4321. 00002CA8  302F 0024                move.w     D0, [A7 + 0x24]
  4322. 00002CAC  48C0                     ext.l      D0
  4323. 00002CAE  5780                     subq.l     D0, 3
  4324. 00002CB0  670E                     beq        +0x10 /* 00002CC0 */
  4325. 00002CB2  5380                     subq.l     D0, 1
  4326. 00002CB4  6722                     beq        +0x24 /* 00002CD8 */
  4327. 00002CB6  5380                     subq.l     D0, 1
  4328. 00002CB8  6738                     beq        +0x3A /* 00002CF2 */
  4329. 00002CBA  5380                     subq.l     D0, 1
  4330. 00002CBC  6742                     beq        +0x44 /* 00002D00 */
  4331. 00002CBE  6044                     bra        +0x46 /* 00002D04 */
  4332. label00002CC0:
  4333. 00002CC0  4A84                     tst.l      D4
  4334. 00002CC2  6740                     beq        +0x42 /* 00002D04 */
  4335. 00002CC4  594F                     subq.w     A7, 4
  4336. 00002CC6  A9FC                     syscall    ZeroScrap
  4337. 00002CC8  201F                     move.l     D0, [A7]+
  4338. 00002CCA  2F0B                     move.l     -[A7], A3
  4339. 00002CCC  A9D6                     syscall    TECut
  4340. 00002CCE  554F                     subq.w     A7, 2
  4341. 00002CD0  4EAD DA42                jsr        [A5 - 0x25BE]
  4342. 00002CD4  301F                     move.w     D0, [A7]+
  4343. 00002CD6  602C                     bra        +0x2E /* 00002D04 */
  4344. label00002CD8:
  4345. 00002CD8  4A84                     tst.l      D4
  4346. 00002CDA  6728                     beq        +0x2A /* 00002D04 */
  4347. 00002CDC  594F                     subq.w     A7, 4
  4348. 00002CDE  A9FC                     syscall    ZeroScrap
  4349. 00002CE0  201F                     move.l     D0, [A7]+
  4350. 00002CE2  2F0B                     move.l     -[A7], A3
  4351. 00002CE4  A9D5                     syscall    TECopy
  4352. 00002CE6  554F                     subq.w     A7, 2
  4353. 00002CE8  4EAD DA42                jsr        [A5 - 0x25BE]
  4354. 00002CEC  301F                     move.w     D0, [A7]+
  4355. 00002CEE  7600                     moveq.l    D3, 0x00
  4356. 00002CF0  6012                     bra        +0x14 /* 00002D04 */
  4357. label00002CF2:
  4358. 00002CF2  554F                     subq.w     A7, 2
  4359. 00002CF4  4EAD DA3C                jsr        [A5 - 0x25C4]
  4360. 00002CF8  301F                     move.w     D0, [A7]+
  4361. 00002CFA  2F0B                     move.l     -[A7], A3
  4362. 00002CFC  A9DB                     syscall    TEPaste
  4363. 00002CFE  6004                     bra        +0x6 /* 00002D04 */
  4364. label00002D00:
  4365. 00002D00  2F0B                     move.l     -[A7], A3
  4366. 00002D02  A9D7                     syscall    TEDelete
  4367. label00002D04:
  4368. 00002D04  4A83                     tst.l      D3
  4369. 00002D06  6712                     beq        +0x14 /* 00002D1A */
  4370. 00002D08  200A                     move.l     D0, A2
  4371. 00002D0A  670E                     beq        +0x10 /* 00002D1A */
  4372. 00002D0C  4A85                     tst.l      D5
  4373. 00002D0E  660A                     bne        +0xC /* 00002D1A */
  4374. 00002D10  2F0A                     move.l     -[A7], A2
  4375. 00002D12  2F0C                     move.l     -[A7], A4
  4376. 00002D14  4EBA 0B20                jsr        [PC + 0xB20 /* 00003836 */]
  4377. 00002D18  504F                     addq.w     A7, 8
  4378. label00002D1A:
  4379. 00002D1A  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  4380. 00002D1E  4E75                     rts
  4381. fn00002D20:
  4382. 00002D20  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  4383. 00002D24  266F 0014                movea.l    A3, [A7 + 0x14]
  4384. 00002D28  286B 00A0                movea.l    A4, [A3 + 0xA0]
  4385. 00002D2C  45ED 82E0                lea.l      A2, [A5 - 0x7D20]
  4386. 00002D30  7600                     moveq.l    D3, 0x00
  4387. 00002D32  6024                     bra        +0x26 /* 00002D58 */
  4388. label00002D34:
  4389. 00002D34  B7EA 0008                cmpa.l     A3, [A2 + 0x8]
  4390. 00002D38  6618                     bne        +0x1A /* 00002D52 */
  4391. 00002D3A  4AAA 0004                tst.l      [A2 + 0x4]
  4392. 00002D3E  671E                     beq        +0x20 /* 00002D5E */
  4393. 00002D40  2F0B                     move.l     -[A7], A3
  4394. 00002D42  2F2F 001C                move.l     -[A7], [A7 + 0x1C]
  4395. 00002D46  206A 0004                movea.l    A0, [A2 + 0x4]
  4396. 00002D4A  4E90                     jsr        [A0]
  4397. 00002D4C  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  4398. 00002D50  4E75                     rts
  4399. label00002D52:
  4400. 00002D52  5283                     addq.l     D3, 1
  4401. 00002D54  7010                     moveq.l    D0, 0x10
  4402. 00002D56  D5C0                     add.l      A2, D0
  4403. label00002D58:
  4404. 00002D58  B6AD B456                cmp.l      D3, [A5 - 0x4BAA]
  4405. 00002D5C  6FD6                     ble        -0x28 /* 00002D34 */
  4406. label00002D5E:
  4407. 00002D5E  4AAD 833A                tst.l      [A5 - 0x7CC6]
  4408. 00002D62  662A                     bne        +0x2C /* 00002D8E */
  4409. 00002D64  302B 00A4                move.w     D0, [A3 + 0xA4]
  4410. 00002D68  48C0                     ext.l      D0
  4411. 00002D6A  4A80                     tst.l      D0
  4412. 00002D6C  6D20                     blt        +0x22 /* 00002D8E */
  4413. 00002D6E  200C                     move.l     D0, A4
  4414. 00002D70  671C                     beq        +0x1E /* 00002D8E */
  4415. 00002D72  554F                     subq.w     A7, 2
  4416. 00002D74  2F2F 001A                move.l     -[A7], [A7 + 0x1A]
  4417. 00002D78  2054                     movea.l    A0, [A4]
  4418. 00002D7A  4868 0008                pea.l      [A0 + 0x8]
  4419. 00002D7E  A8AD                     syscall    PtInRect
  4420. 00002D80  101F                     move.b     D0, [A7]+
  4421. 00002D82  670A                     beq        +0xC /* 00002D8E */
  4422. 00002D84  3F3C 0001                move.w     -[A7], 0x1
  4423. 00002D88  4EBA E66A                jsr        [PC - 0x1996 /* 000013F4 */]
  4424. 00002D8C  6006                     bra        +0x8 /* 00002D94 */
  4425. label00002D8E:
  4426. 00002D8E  4267                     clr.w      -[A7]
  4427. 00002D90  4EBA E662                jsr        [PC - 0x199E /* 000013F4 */]
  4428. label00002D94:
  4429. 00002D94  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  4430. 00002D98  4E75                     rts
  4431. fn00002D9A:
  4432. 00002D9A  2F0A                     move.l     -[A7], A2
  4433. 00002D9C  4FEF FFE8                lea.l      A7, [A7 - 0x18]
  4434. 00002DA0  4857                     pea.l      [A7]
  4435. 00002DA2  3F2F 0028                move.w     -[A7], [A7 + 0x28]
  4436. 00002DA6  2F2F 0026                move.l     -[A7], [A7 + 0x26]
  4437. 00002DAA  4EBA E92C                jsr        [PC - 0x16D4 /* 000016D8 */]
  4438. 00002DAE  A8D8                     syscall    NewRgn
  4439. 00002DB0  205F                     movea.l    A0, [A7]+
  4440. 00002DB2  2448                     movea.l    A2, A0
  4441. 00002DB4  2008                     move.l     D0, A0
  4442. 00002DB6  5C4F                     addq.w     A7, 6
  4443. 00002DB8  673E                     beq        +0x40 /* 00002DF8 */
  4444. 00002DBA  2F6F 0026 0008           move.l     [A7 + 0x8], [A7 + 0x26]
  4445. 00002DC0  302F 002C                move.w     D0, [A7 + 0x2C]
  4446. 00002DC4  48C0                     ext.l      D0
  4447. 00002DC6  2F40 0010                move.l     [A7 + 0x10], D0
  4448. 00002DCA  3F6F 002A 0014           move.w     [A7 + 0x14], [A7 + 0x2A]
  4449. 00002DD0  41D7                     lea.l      A0, [A7]
  4450. 00002DD2  2F48 000C                move.l     [A7 + 0xC], A0
  4451. 00002DD6  3F6F 002E 0016           move.w     [A7 + 0x16], [A7 + 0x2E]
  4452. 00002DDC  2F0A                     move.l     -[A7], A2
  4453. 00002DDE  486F 0004                pea.l      [A7 + 0x4]
  4454. 00002DE2  A8DF                     syscall    RectRgn
  4455. 00002DE4  2F0A                     move.l     -[A7], A2
  4456. 00002DE6  486D DF48                pea.l      [A5 - 0x20B8]
  4457. 00002DEA  486F 0010                pea.l      [A7 + 0x10]
  4458. 00002DEE  42A7                     clr.l      -[A7]
  4459. 00002DF0  4EBA EBA2                jsr        [PC - 0x145E /* 00001994 */]
  4460. 00002DF4  2F0A                     move.l     -[A7], A2
  4461. 00002DF6  A8D9                     syscall    DisposRgn/DisposeRgn
  4462. label00002DF8:
  4463. 00002DF8  4FEF 0018                lea.l      A7, [A7 + 0x18]
  4464. 00002DFC  245F                     movea.l    A2, [A7]+
  4465. 00002DFE  4E75                     rts
  4466. fn00002E00:
  4467. 00002E00  48E7 1C38                movem.l    -[A7], D3,D4,D5,A2,A3,A4
  4468. 00002E04  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  4469. 00002E08  266F 002C                movea.l    A3, [A7 + 0x2C]
  4470. 00002E0C  286F 0030                movea.l    A4, [A7 + 0x30]
  4471. 00002E10  3A2F 0034                move.w     D5, [A7 + 0x34]
  4472. 00002E14  362F 0038                move.w     D3, [A7 + 0x38]
  4473. 00002E18  95CA                     sub.l      A2, A2
  4474. 00002E1A  200C                     move.l     D0, A4
  4475. 00002E1C  660C                     bne        +0xE /* 00002E2A */
  4476. 00002E1E  3005                     move.w     D0, D5
  4477. 00002E20  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4478. 00002E24  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  4479. 00002E28  4E75                     rts
  4480. label00002E2A:
  4481. 00002E2A  4857                     pea.l      [A7]
  4482. 00002E2C  3F2F 003A                move.w     -[A7], [A7 + 0x3A]
  4483. 00002E30  2F0B                     move.l     -[A7], A3
  4484. 00002E32  4EBA E8A4                jsr        [PC - 0x175C /* 000016D8 */]
  4485. 00002E36  4A43                     tst.w      D3
  4486. 00002E38  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4487. 00002E3C  6710                     beq        +0x12 /* 00002E4E */
  4488. 00002E3E  486F 0008                pea.l      [A7 + 0x8]
  4489. 00002E42  3F03                     move.w     -[A7], D3
  4490. 00002E44  2F0B                     move.l     -[A7], A3
  4491. 00002E46  4EBA E890                jsr        [PC - 0x1770 /* 000016D8 */]
  4492. 00002E4A  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4493. label00002E4E:
  4494. 00002E4E  2F0B                     move.l     -[A7], A3
  4495. 00002E50  4EBA E2FC                jsr        [PC - 0x1D04 /* 0000114E */]
  4496. 00002E54  4A43                     tst.w      D3
  4497. 00002E56  584F                     addq.w     A7, 4
  4498. 00002E58  672E                     beq        +0x30 /* 00002E88 */
  4499. 00002E5A  594F                     subq.w     A7, 4
  4500. 00002E5C  A8D8                     syscall    NewRgn
  4501. 00002E5E  205F                     movea.l    A0, [A7]+
  4502. 00002E60  2448                     movea.l    A2, A0
  4503. 00002E62  200A                     move.l     D0, A2
  4504. 00002E64  671C                     beq        +0x1E /* 00002E82 */
  4505. 00002E66  2F0A                     move.l     -[A7], A2
  4506. 00002E68  486F 000C                pea.l      [A7 + 0xC]
  4507. 00002E6C  A8DF                     syscall    RectRgn
  4508. 00002E6E  4EBA E404                jsr        [PC - 0x1BFC /* 00001274 */]
  4509. 00002E72  4878 001E                push.l     0x1E
  4510. 00002E76  A863                     syscall    BackColor
  4511. 00002E78  2F0B                     move.l     -[A7], A3
  4512. 00002E7A  2F0A                     move.l     -[A7], A2
  4513. 00002E7C  A978                     syscall    UpdtDialog
  4514. 00002E7E  4EBA E476                jsr        [PC - 0x1B8A /* 000012F6 */]
  4515. label00002E82:
  4516. 00002E82  486F 0008                pea.l      [A7 + 0x8]
  4517. 00002E86  A8A4                     syscall    InvertRect
  4518. label00002E88:
  4519. 00002E88  4857                     pea.l      [A7]
  4520. 00002E8A  3F05                     move.w     -[A7], D5
  4521. 00002E8C  2F0C                     move.l     -[A7], A4
  4522. 00002E8E  4EAD F6E0                jsr        [A5 - 0x920]
  4523. 00002E92  3800                     move.w     D4, D0
  4524. 00002E94  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4525. 00002E98  6716                     beq        +0x18 /* 00002EB0 */
  4526. 00002E9A  1F3C 0001                move.b     -[A7], 0x1
  4527. 00002E9E  3F3C 0005                move.w     -[A7], 0x5
  4528. 00002EA2  486F 0004                pea.l      [A7 + 0x4]
  4529. 00002EA6  2F0B                     move.l     -[A7], A3
  4530. 00002EA8  4EBA 002E                jsr        [PC + 0x2E /* 00002ED8 */]
  4531. 00002EAC  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4532. label00002EB0:
  4533. 00002EB0  4A43                     tst.w      D3
  4534. 00002EB2  6714                     beq        +0x16 /* 00002EC8 */
  4535. 00002EB4  200A                     move.l     D0, A2
  4536. 00002EB6  670A                     beq        +0xC /* 00002EC2 */
  4537. 00002EB8  2F0A                     move.l     -[A7], A2
  4538. 00002EBA  A927                     syscall    InvalRgn
  4539. 00002EBC  2F0A                     move.l     -[A7], A2
  4540. 00002EBE  A8D9                     syscall    DisposRgn/DisposeRgn
  4541. 00002EC0  6006                     bra        +0x8 /* 00002EC8 */
  4542. label00002EC2:
  4543. 00002EC2  486F 0008                pea.l      [A7 + 0x8]
  4544. 00002EC6  A8A4                     syscall    InvertRect
  4545. label00002EC8:
  4546. 00002EC8  4EBA E2A6                jsr        [PC - 0x1D5A /* 00001170 */]
  4547. 00002ECC  3004                     move.w     D0, D4
  4548. 00002ECE  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4549. 00002ED2  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  4550. 00002ED6  4E75                     rts
  4551. fn00002ED8:
  4552. 00002ED8  2F0A                     move.l     -[A7], A2
  4553. 00002EDA  514F                     subq.w     A7, 8
  4554. 00002EDC  246F 0014                movea.l    A2, [A7 + 0x14]
  4555. 00002EE0  200A                     move.l     D0, A2
  4556. 00002EE2  6616                     bne        +0x18 /* 00002EFA */
  4557. 00002EE4  4857                     pea.l      [A7]
  4558. 00002EE6  3F2F 001C                move.w     -[A7], [A7 + 0x1C]
  4559. 00002EEA  2F2F 0016                move.l     -[A7], [A7 + 0x16]
  4560. 00002EEE  4EBA E7E8                jsr        [PC - 0x1818 /* 000016D8 */]
  4561. 00002EF2  45EF 000A                lea.l      A2, [A7 + 0xA]
  4562. 00002EF6  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4563. label00002EFA:
  4564. 00002EFA  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  4565. 00002EFE  4EBA E24E                jsr        [PC - 0x1DB2 /* 0000114E */]
  4566. 00002F02  4267                     clr.w      -[A7]
  4567. 00002F04  1F2F 0020                move.b     -[A7], [A7 + 0x20]
  4568. 00002F08  2F0A                     move.l     -[A7], A2
  4569. 00002F0A  4EAD F6D8                jsr        [A5 - 0x928]
  4570. 00002F0E  4EBA E260                jsr        [PC - 0x1DA0 /* 00001170 */]
  4571. 00002F12  4FEF 0014                lea.l      A7, [A7 + 0x14]
  4572. 00002F16  245F                     movea.l    A2, [A7]+
  4573. 00002F18  4E75                     rts
  4574. fn00002F1A:
  4575. 00002F1A  2F0A                     move.l     -[A7], A2
  4576. 00002F1C  4FEF FFF2                lea.l      A7, [A7 - 0xE]
  4577. 00002F20  246F 0016                movea.l    A2, [A7 + 0x16]
  4578. 00002F24  2F0A                     move.l     -[A7], A2
  4579. 00002F26  4EBA E226                jsr        [PC - 0x1DDA /* 0000114E */]
  4580. 00002F2A  486F 000A                pea.l      [A7 + 0xA]
  4581. 00002F2E  3F2F 0022                move.w     -[A7], [A7 + 0x22]
  4582. 00002F32  2F0A                     move.l     -[A7], A2
  4583. 00002F34  4EBA E7A2                jsr        [PC - 0x185E /* 000016D8 */]
  4584. 00002F38  4EBA E33A                jsr        [PC - 0x1CC6 /* 00001274 */]
  4585. 00002F3C  2F3C 0002 0002           move.l     -[A7], 0x20002
  4586. 00002F42  A89B                     syscall    PenSize
  4587. 00002F44  4A2A 006F                tst.b      [A2 + 0x6F]
  4588. 00002F48  4FEF 000E                lea.l      A7, [A7 + 0xE]
  4589. 00002F4C  6706                     beq        +0x8 /* 00002F54 */
  4590. 00002F4E  4A6F 001C                tst.w      [A7 + 0x1C]
  4591. 00002F52  661C                     bne        +0x1E /* 00002F70 */
  4592. label00002F54:
  4593. 00002F54  486D 15F0                pea.l      [A5 + 0x15F0]
  4594. 00002F58  A89D                     syscall    PenPat
  4595. 00002F5A  4EBA 1312                jsr        [PC + 0x1312 /* 0000426E */]
  4596. 00002F5E  4A80                     tst.l      D0
  4597. 00002F60  670E                     beq        +0x10 /* 00002F70 */
  4598. 00002F62  2EAD B460                move.l     [A7], [A5 - 0x4BA0]
  4599. 00002F66  3F6D B464 0004           move.w     [A7 + 0x4], [A5 - 0x4B9C]
  4600. 00002F6C  4857                     pea.l      [A7]
  4601. 00002F6E  AA15                     syscall    RGBBackColor
  4602. label00002F70:
  4603. 00002F70  486F 0006                pea.l      [A7 + 0x6]
  4604. 00002F74  A8A1                     syscall    FrameRect
  4605. 00002F76  4EBA E37E                jsr        [PC - 0x1C82 /* 000012F6 */]
  4606. 00002F7A  4EBA E1F4                jsr        [PC - 0x1E0C /* 00001170 */]
  4607. 00002F7E  4FEF 000E                lea.l      A7, [A7 + 0xE]
  4608. 00002F82  245F                     movea.l    A2, [A7]+
  4609. 00002F84  4E75                     rts
  4610. 00002F86  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  4611. 00002F8A  4FEF FFE8                lea.l      A7, [A7 - 0x18]
  4612. 00002F8E  266F 0030                movea.l    A3, [A7 + 0x30]
  4613. 00002F92  246F 0034                movea.l    A2, [A7 + 0x34]
  4614. 00002F96  7000                     moveq.l    D0, 0x00
  4615. 00002F98  102D 81A0                move.b     D0, [A5 - 0x7E60]
  4616. 00002F9C  7202                     moveq.l    D1, 0x02
  4617. 00002F9E  B081                     cmp.l      D0, D1
  4618. 00002FA0  6D58                     blt        +0x5A /* 00002FFA */
  4619. 00002FA2  3E92                     move.w     [A7], [A2]
  4620. 00002FA4  3F6A 0002 0002           move.w     [A7 + 0x2], [A2 + 0x2]
  4621. 00002FAA  3012                     move.w     D0, [A2]
  4622. 00002FAC  48C0                     ext.l      D0
  4623. 00002FAE  5280                     addq.l     D0, 1
  4624. 00002FB0  3F40 0004                move.w     [A7 + 0x4], D0
  4625. 00002FB4  302A 0002                move.w     D0, [A2 + 0x2]
  4626. 00002FB8  48C0                     ext.l      D0
  4627. 00002FBA  5280                     addq.l     D0, 1
  4628. 00002FBC  3F40 0006                move.w     [A7 + 0x6], D0
  4629. 00002FC0  594F                     subq.w     A7, 4
  4630. 00002FC2  486F 0004                pea.l      [A7 + 0x4]
  4631. 00002FC6  AA27                     syscall    GetMaxDevice
  4632. 00002FC8  205F                     movea.l    A0, [A7]+
  4633. 00002FCA  2448                     movea.l    A2, A0
  4634. 00002FCC  200A                     move.l     D0, A2
  4635. 00002FCE  6608                     bne        +0xA /* 00002FD8 */
  4636. 00002FD0  594F                     subq.w     A7, 4
  4637. 00002FD2  AA2A                     syscall    GetMainDevice
  4638. 00002FD4  205F                     movea.l    A0, [A7]+
  4639. 00002FD6  2448                     movea.l    A2, A0
  4640. label00002FD8:
  4641. 00002FD8  2052                     movea.l    A0, [A2]
  4642. 00002FDA  2F68 0022 0010           move.l     [A7 + 0x10], [A0 + 0x22]
  4643. 00002FE0  2F68 0026 0014           move.l     [A7 + 0x14], [A0 + 0x26]
  4644. 00002FE6  594F                     subq.w     A7, 4
  4645. 00002FE8  AA2A                     syscall    GetMainDevice
  4646. 00002FEA  205F                     movea.l    A0, [A7]+
  4647. 00002FEC  B5C8                     cmpa.l     A2, A0
  4648. 00002FEE  661E                     bne        +0x20 /* 0000300E */
  4649. 00002FF0  4EAD E0B0                jsr        [A5 - 0x1F50]
  4650. 00002FF4  D16F 0010                add.w      [A7 + 0x10], D0
  4651. 00002FF8  6014                     bra        +0x16 /* 0000300E */
  4652. label00002FFA:
  4653. 00002FFA  2F6D 1584 0010           move.l     [A7 + 0x10], [A5 + 0x1584]
  4654. 00003000  2F6D 1588 0014           move.l     [A7 + 0x14], [A5 + 0x1588]
  4655. 00003006  4EAD E0B0                jsr        [A5 - 0x1F50]
  4656. 0000300A  D16F 0010                add.w      [A7 + 0x10], D0
  4657. label0000300E:
  4658. 0000300E  2F6B 0010 0008           move.l     [A7 + 0x8], [A3 + 0x10]
  4659. 00003014  2F6B 0014 000C           move.l     [A7 + 0xC], [A3 + 0x14]
  4660. 0000301A  3F3C FFFF                move.w     -[A7], 0xFFFF
  4661. 0000301E  2F0B                     move.l     -[A7], A3
  4662. 00003020  486F 000E                pea.l      [A7 + 0xE]
  4663. 00003024  4EBA DD20                jsr        [PC - 0x22E0 /* 00000D46 */]
  4664. 00003028  302F 0012                move.w     D0, [A7 + 0x12]
  4665. 0000302C  48C0                     ext.l      D0
  4666. 0000302E  382F 0016                move.w     D4, [A7 + 0x16]
  4667. 00003032  48C4                     ext.l      D4
  4668. 00003034  9880                     sub.l      D4, D0
  4669. 00003036  302F 0014                move.w     D0, [A7 + 0x14]
  4670. 0000303A  48C0                     ext.l      D0
  4671. 0000303C  3A2F 0018                move.w     D5, [A7 + 0x18]
  4672. 00003040  48C5                     ext.l      D5
  4673. 00003042  9A80                     sub.l      D5, D0
  4674. 00003044  302F 001A                move.w     D0, [A7 + 0x1A]
  4675. 00003048  48C0                     ext.l      D0
  4676. 0000304A  362F 001E                move.w     D3, [A7 + 0x1E]
  4677. 0000304E  48C3                     ext.l      D3
  4678. 00003050  9680                     sub.l      D3, D0
  4679. 00003052  3004                     move.w     D0, D4
  4680. 00003054  48C0                     ext.l      D0
  4681. 00003056  9680                     sub.l      D3, D0
  4682. 00003058  302F 001C                move.w     D0, [A7 + 0x1C]
  4683. 0000305C  48C0                     ext.l      D0
  4684. 0000305E  382F 0020                move.w     D4, [A7 + 0x20]
  4685. 00003062  48C4                     ext.l      D4
  4686. 00003064  9880                     sub.l      D4, D0
  4687. 00003066  3005                     move.w     D0, D5
  4688. 00003068  48C0                     ext.l      D0
  4689. 0000306A  9880                     sub.l      D4, D0
  4690. 0000306C  48C3                     ext.l      D3
  4691. 0000306E  87FC 0002                divs.w     D3, 0x2
  4692. 00003072  3003                     move.w     D0, D3
  4693. 00003074  48C0                     ext.l      D0
  4694. 00003076  322F 0042                move.w     D1, [A7 + 0x42]
  4695. 0000307A  48C1                     ext.l      D1
  4696. 0000307C  4EAD D910                jsr        [A5 - 0x26F0]
  4697. 00003080  9640                     sub.w      D3, D0
  4698. 00003082  48C4                     ext.l      D4
  4699. 00003084  89FC 0002                divs.w     D4, 0x2
  4700. 00003088  3003                     move.w     D0, D3
  4701. 0000308A  48C0                     ext.l      D0
  4702. 0000308C  4A80                     tst.l      D0
  4703. 0000308E  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4704. 00003092  6C02                     bge        +0x4 /* 00003096 */
  4705. 00003094  7600                     moveq.l    D3, 0x00
  4706. label00003096:
  4707. 00003096  3004                     move.w     D0, D4
  4708. 00003098  48C0                     ext.l      D0
  4709. 0000309A  4A80                     tst.l      D0
  4710. 0000309C  6C02                     bge        +0x4 /* 000030A0 */
  4711. 0000309E  7800                     moveq.l    D4, 0x00
  4712. label000030A0:
  4713. 000030A0  4A44                     tst.w      D4
  4714. 000030A2  6610                     bne        +0x12 /* 000030B4 */
  4715. 000030A4  4A43                     tst.w      D3
  4716. 000030A6  660C                     bne        +0xE /* 000030B4 */
  4717. 000030A8  7000                     moveq.l    D0, 0x00
  4718. 000030AA  4FEF 0018                lea.l      A7, [A7 + 0x18]
  4719. 000030AE  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  4720. 000030B2  4E75                     rts
  4721. label000030B4:
  4722. 000030B4  206F 003A                movea.l    A0, [A7 + 0x3A]
  4723. 000030B8  3084                     move.w     [A0], D4
  4724. 000030BA  206F 003E                movea.l    A0, [A7 + 0x3E]
  4725. 000030BE  3083                     move.w     [A0], D3
  4726. 000030C0  7001                     moveq.l    D0, 0x01
  4727. 000030C2  4FEF 0018                lea.l      A7, [A7 + 0x18]
  4728. 000030C6  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  4729. 000030CA  4E75                     rts
  4730. 000030CC  3F2F 0004                move.w     -[A7], [A7 + 0x4]
  4731. 000030D0  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  4732. 000030D4  4EBA 000A                jsr        [PC + 0xA /* 000030E0 */]
  4733. 000030D8  5C4F                     addq.w     A7, 6
  4734. 000030DA  205F                     movea.l    A0, [A7]+
  4735. 000030DC  5C4F                     addq.w     A7, 6
  4736. 000030DE  4ED0                     jmp        [A0]
  4737. fn000030E0:
  4738. 000030E0  594F                     subq.w     A7, 4
  4739. 000030E2  594F                     subq.w     A7, 4
  4740. 000030E4  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  4741. 000030E8  A917                     syscall    GetWRefCon
  4742. 000030EA  201F                     move.l     D0, [A7]+
  4743. 000030EC  2E80                     move.l     [A7], D0
  4744. 000030EE  2040                     movea.l    A0, D0
  4745. 000030F0  3F28 0016                move.w     -[A7], [A0 + 0x16]
  4746. 000030F4  3F2F 000E                move.w     -[A7], [A7 + 0xE]
  4747. 000030F8  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  4748. 000030FC  4EBA FE1C                jsr        [PC - 0x1E4 /* 00002F1A */]
  4749. 00003100  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4750. 00003104  4E75                     rts
  4751. 00003106  2F2F 0006                move.l     -[A7], [A7 + 0x6]
  4752. 0000310A  3F2F 0008                move.w     -[A7], [A7 + 0x8]
  4753. 0000310E  4EBA EFFE                jsr        [PC - 0x1002 /* 0000210E */]
  4754. 00003112  205F                     movea.l    A0, [A7]+
  4755. 00003114  5C4F                     addq.w     A7, 6
  4756. 00003116  4ED0                     jmp        [A0]
  4757. 00003118  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  4758. 0000311C  4FEF FFF4                lea.l      A7, [A7 - 0xC]
  4759. 00003120  286F 0024                movea.l    A4, [A7 + 0x24]
  4760. 00003124  246F 0020                movea.l    A2, [A7 + 0x20]
  4761. 00003128  3F3C 0001                move.w     -[A7], 0x1
  4762. 0000312C  2F12                     move.l     -[A7], [A2]
  4763. 0000312E  4EBA E54E                jsr        [PC - 0x1AB2 /* 0000167E */]
  4764. 00003132  2648                     movea.l    A3, A0
  4765. 00003134  4EBA E13E                jsr        [PC - 0x1EC2 /* 00001274 */]
  4766. 00003138  2F3C 0003 0003           move.l     -[A7], 0x30003
  4767. 0000313E  A89B                     syscall    PenSize
  4768. 00003140  2052                     movea.l    A0, [A2]
  4769. 00003142  4A28 006F                tst.b      [A0 + 0x6F]
  4770. 00003146  5C4F                     addq.w     A7, 6
  4771. 00003148  6708                     beq        +0xA /* 00003152 */
  4772. 0000314A  2053                     movea.l    A0, [A3]
  4773. 0000314C  4A28 0011                tst.b      [A0 + 0x11]
  4774. 00003150  677A                     beq        +0x7C /* 000031CC */
  4775. label00003152:
  4776. 00003152  302F 002A                move.w     D0, [A7 + 0x2A]
  4777. 00003156  48C0                     ext.l      D0
  4778. 00003158  7202                     moveq.l    D1, 0x02
  4779. 0000315A  B081                     cmp.l      D0, D1
  4780. 0000315C  5EC0                     sgt        D0
  4781. 0000315E  4400                     neg.b      D0
  4782. 00003160  4880                     ext.w      D0
  4783. 00003162  48C0                     ext.l      D0
  4784. 00003164  2600                     move.l     D3, D0
  4785. 00003166  675A                     beq        +0x5C /* 000031C2 */
  4786. 00003168  486F 0006                pea.l      [A7 + 0x6]
  4787. 0000316C  AA19                     syscall    GetForeColor
  4788. 0000316E  4857                     pea.l      [A7]
  4789. 00003170  AA1A                     syscall    GetBackColor
  4790. 00003172  3F3C ABCA                move.w     -[A7], 0xABCA
  4791. 00003176  4EBA E3F4                jsr        [PC - 0x1C0C /* 0000156C */]
  4792. 0000317A  4A40                     tst.w      D0
  4793. 0000317C  544F                     addq.w     A7, 2
  4794. 0000317E  6724                     beq        +0x26 /* 000031A4 */
  4795. 00003180  554F                     subq.w     A7, 2
  4796. 00003182  2F0C                     move.l     -[A7], A4
  4797. 00003184  486F 0006                pea.l      [A7 + 0x6]
  4798. 00003188  486F 0010                pea.l      [A7 + 0x10]
  4799. 0000318C  303C 0C19                move.w     D0, 0xC19
  4800. 00003190  AAA2                     syscall    PaletteDispatch
  4801. 00003192  101F                     move.b     D0, [A7]+
  4802. 00003194  7200                     moveq.l    D1, 0x00
  4803. 00003196  1200                     move.b     D1, D0
  4804. 00003198  2601                     move.l     D3, D1
  4805. 0000319A  6726                     beq        +0x28 /* 000031C2 */
  4806. 0000319C  486F 0006                pea.l      [A7 + 0x6]
  4807. 000031A0  AA14                     syscall    RGBForeColor
  4808. 000031A2  601E                     bra        +0x20 /* 000031C2 */
  4809. label000031A4:
  4810. 000031A4  486F 0006                pea.l      [A7 + 0x6]
  4811. 000031A8  486F 0004                pea.l      [A7 + 0x4]
  4812. 000031AC  2F0C                     move.l     -[A7], A4
  4813. 000031AE  4EBA E8D8                jsr        [PC - 0x1728 /* 00001A88 */]
  4814. 000031B2  48C0                     ext.l      D0
  4815. 000031B4  2600                     move.l     D3, D0
  4816. 000031B6  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4817. 000031BA  6706                     beq        +0x8 /* 000031C2 */
  4818. 000031BC  486F 0006                pea.l      [A7 + 0x6]
  4819. 000031C0  AA14                     syscall    RGBForeColor
  4820. label000031C2:
  4821. 000031C2  4A83                     tst.l      D3
  4822. 000031C4  6606                     bne        +0x8 /* 000031CC */
  4823. 000031C6  486D 15E0                pea.l      [A5 + 0x15E0]
  4824. 000031CA  A89D                     syscall    PenPat
  4825. label000031CC:
  4826. 000031CC  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  4827. 000031D0  2F3C 0010 0010           move.l     -[A7], 0x100010
  4828. 000031D6  A8B0                     syscall    FrameRoundRect
  4829. 000031D8  4EBA E11C                jsr        [PC - 0x1EE4 /* 000012F6 */]
  4830. 000031DC  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4831. 000031E0  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  4832. 000031E4  205F                     movea.l    A0, [A7]+
  4833. 000031E6  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4834. 000031EA  4ED0                     jmp        [A0]
  4835. fn000031EC:
  4836. 000031EC  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  4837. 000031F0  4FEF FE00                lea.l      A7, [A7 - 0x200]
  4838. 000031F4  266F 021C                movea.l    A3, [A7 + 0x21C]
  4839. 000031F8  2C6F 0220                movea.l    A6, [A7 + 0x220]
  4840. 000031FC  286F 0224                movea.l    A4, [A7 + 0x224]
  4841. 00003200  41ED 81D8                lea.l      A0, [A5 - 0x7E28]
  4842. 00003204  43D7                     lea.l      A1, [A7]
  4843. 00003206  703F                     moveq.l    D0, 0x3F
  4844. label00003208:
  4845. 00003208  22D8                     move.l     [A1]+, [A0]+
  4846. 0000320A  51C8 FFFC                dbf        D0, -0x6 /* 00003208 */
  4847. 0000320E  594F                     subq.w     A7, 4
  4848. 00003210  2F0E                     move.l     -[A7], A6
  4849. 00003212  4EAD D9AC                jsr        [A5 - 0x2654]
  4850. 00003216  201F                     move.l     D0, [A7]+
  4851. 00003218  7214                     moveq.l    D1, 0x14
  4852. 0000321A  4EAD D8FE                jsr        [A5 - 0x2702]
  4853. 0000321E  2800                     move.l     D4, D0
  4854. 00003220  2456                     movea.l    A2, [A6]
  4855. 00003222  7600                     moveq.l    D3, 0x00
  4856. 00003224  6014                     bra        +0x16 /* 0000323A */
  4857. label00003226:
  4858. 00003226  102A 0012                move.b     D0, [A2 + 0x12]
  4859. 0000322A  4880                     ext.w      D0
  4860. 0000322C  41D7                     lea.l      A0, [A7]
  4861. 0000322E  11BC 0001 0000           move.b     [A0 + D0.w], 0x1
  4862. 00003234  5283                     addq.l     D3, 1
  4863. 00003236  7014                     moveq.l    D0, 0x14
  4864. 00003238  D5C0                     add.l      A2, D0
  4865. label0000323A:
  4866. 0000323A  B684                     cmp.l      D3, D4
  4867. 0000323C  6DE8                     blt        -0x16 /* 00003226 */
  4868. 0000323E  554F                     subq.w     A7, 2
  4869. 00003240  2F0B                     move.l     -[A7], A3
  4870. 00003242  A950                     syscall    CountMItems
  4871. 00003244  301F                     move.w     D0, [A7]+
  4872. 00003246  48C0                     ext.l      D0
  4873. 00003248  2800                     move.l     D4, D0
  4874. 0000324A  7603                     moveq.l    D3, 0x03
  4875. 0000324C  6032                     bra        +0x34 /* 00003280 */
  4876. label0000324E:
  4877. 0000324E  2F0B                     move.l     -[A7], A3
  4878. 00003250  3F03                     move.w     -[A7], D3
  4879. 00003252  486F 0106                pea.l      [A7 + 0x106]
  4880. 00003256  A946                     syscall    GetMenuItemText/GetItem
  4881. 00003258  0C2F 0001 0100           cmpi.b     [A7 + 0x100], 0x1
  4882. 0000325E  661E                     bne        +0x20 /* 0000327E */
  4883. 00003260  7000                     moveq.l    D0, 0x00
  4884. 00003262  102F 0101                move.b     D0, [A7 + 0x101]
  4885. 00003266  41D7                     lea.l      A0, [A7]
  4886. 00003268  4A30 0000                tst.b      [A0 + D0.w]
  4887. 0000326C  6706                     beq        +0x8 /* 00003274 */
  4888. 0000326E  2F0B                     move.l     -[A7], A3
  4889. 00003270  3F03                     move.w     -[A7], D3
  4890. 00003272  A93A                     syscall    DisableItem
  4891. label00003274:
  4892. 00003274  200C                     move.l     D0, A4
  4893. 00003276  6706                     beq        +0x8 /* 0000327E */
  4894. 00003278  19AF 0101 3800           move.b     [A4 + D3], [A7 + 0x101]
  4895. label0000327E:
  4896. 0000327E  5283                     addq.l     D3, 1
  4897. label00003280:
  4898. 00003280  B684                     cmp.l      D3, D4
  4899. 00003282  6FCA                     ble        -0x34 /* 0000324E */
  4900. 00003284  4FEF 0200                lea.l      A7, [A7 + 0x200]
  4901. 00003288  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  4902. 0000328C  4E75                     rts
  4903. fn0000328E:
  4904. 0000328E  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  4905. 00003292  514F                     subq.w     A7, 8
  4906. 00003294  246F 001C                movea.l    A2, [A7 + 0x1C]
  4907. 00003298  266F 0024                movea.l    A3, [A7 + 0x24]
  4908. 0000329C  302A 0012                move.w     D0, [A2 + 0x12]
  4909. 000032A0  48C0                     ext.l      D0
  4910. 000032A2  362A 0016                move.w     D3, [A2 + 0x16]
  4911. 000032A6  48C3                     ext.l      D3
  4912. 000032A8  9680                     sub.l      D3, D0
  4913. 000032AA  302A 0010                move.w     D0, [A2 + 0x10]
  4914. 000032AE  48C0                     ext.l      D0
  4915. 000032B0  382A 0014                move.w     D4, [A2 + 0x14]
  4916. 000032B4  48C4                     ext.l      D4
  4917. 000032B6  9880                     sub.l      D4, D0
  4918. 000032B8  200B                     move.l     D0, A3
  4919. 000032BA  6734                     beq        +0x36 /* 000032F0 */
  4920. 000032BC  0C6B 8001 0002           cmpi.w     [A3 + 0x2], 0x8001
  4921. 000032C2  672C                     beq        +0x2E /* 000032F0 */
  4922. 000032C4  0C53 8001                cmpi.w     [A3], 0x8001
  4923. 000032C8  6726                     beq        +0x28 /* 000032F0 */
  4924. 000032CA  4267                     clr.w      -[A7]
  4925. 000032CC  3F04                     move.w     -[A7], D4
  4926. 000032CE  3F03                     move.w     -[A7], D3
  4927. 000032D0  2F13                     move.l     -[A7], [A3]
  4928. 000032D2  2F0A                     move.l     -[A7], A2
  4929. 000032D4  4EBA DC9E                jsr        [PC - 0x2362 /* 00000F74 */]
  4930. 000032D8  4A40                     tst.w      D0
  4931. 000032DA  4FEF 000E                lea.l      A7, [A7 + 0xE]
  4932. 000032DE  6710                     beq        +0x12 /* 000032F0 */
  4933. 000032E0  2F0A                     move.l     -[A7], A2
  4934. 000032E2  3F2B 0002                move.w     -[A7], [A3 + 0x2]
  4935. 000032E6  3F13                     move.w     -[A7], [A3]
  4936. 000032E8  1F3C 0001                move.b     -[A7], 0x1
  4937. 000032EC  A91B                     syscall    MoveWindow
  4938. 000032EE  6012                     bra        +0x14 /* 00003302 */
  4939. label000032F0:
  4940. 000032F0  4AAD B45A                tst.l      [A5 - 0x4BA6]
  4941. 000032F4  660C                     bne        +0xE /* 00003302 */
  4942. 000032F6  3F2F 0028                move.w     -[A7], [A7 + 0x28]
  4943. 000032FA  2F0A                     move.l     -[A7], A2
  4944. 000032FC  4EBA 0A10                jsr        [PC + 0xA10 /* 00003D0E */]
  4945. 00003300  5C4F                     addq.w     A7, 6
  4946. label00003302:
  4947. 00003302  3F3C 0001                move.w     -[A7], 0x1
  4948. 00003306  2F0A                     move.l     -[A7], A2
  4949. 00003308  4EBA E374                jsr        [PC - 0x1C8C /* 0000167E */]
  4950. 0000330C  2648                     movea.l    A3, A0
  4951. 0000330E  2008                     move.l     D0, A0
  4952. 00003310  5C4F                     addq.w     A7, 6
  4953. 00003312  6734                     beq        +0x36 /* 00003348 */
  4954. 00003314  2053                     movea.l    A0, [A3]
  4955. 00003316  2EA8 0008                move.l     [A7], [A0 + 0x8]
  4956. 0000331A  2F68 000C 0004           move.l     [A7 + 0x4], [A0 + 0xC]
  4957. 00003320  4857                     pea.l      [A7]
  4958. 00003322  2F3C FFFC FFFC           move.l     -[A7], 0xFFFCFFFC
  4959. 00003328  A8A9                     syscall    InsetRect
  4960. 0000332A  4857                     pea.l      [A7]
  4961. 0000332C  3F3C 0003                move.w     -[A7], 0x3
  4962. 00003330  2F0A                     move.l     -[A7], A2
  4963. 00003332  4EBA E3C0                jsr        [PC - 0x1C40 /* 000016F4 */]
  4964. 00003336  486D DF18                pea.l      [A5 - 0x20E8]
  4965. 0000333A  3F3C 0003                move.w     -[A7], 0x3
  4966. 0000333E  2F0A                     move.l     -[A7], A2
  4967. 00003340  4EBA E360                jsr        [PC - 0x1CA0 /* 000016A2 */]
  4968. 00003344  4FEF 0014                lea.l      A7, [A7 + 0x14]
  4969. label00003348:
  4970. 00003348  4AAF 0020                tst.l      [A7 + 0x20]
  4971. 0000334C  6738                     beq        +0x3A /* 00003386 */
  4972. 0000334E  4857                     pea.l      [A7]
  4973. 00003350  3F3C 0007                move.w     -[A7], 0x7
  4974. 00003354  2F0A                     move.l     -[A7], A2
  4975. 00003356  4EBA E380                jsr        [PC - 0x1C80 /* 000016D8 */]
  4976. 0000335A  486F 000A                pea.l      [A7 + 0xA]
  4977. 0000335E  2F3C FFFD FFFD           move.l     -[A7], 0xFFFDFFFD
  4978. 00003364  A8A9                     syscall    InsetRect
  4979. 00003366  486F 000A                pea.l      [A7 + 0xA]
  4980. 0000336A  3F3C 0009                move.w     -[A7], 0x9 /* '\t' */
  4981. 0000336E  2F0A                     move.l     -[A7], A2
  4982. 00003370  4EBA E382                jsr        [PC - 0x1C7E /* 000016F4 */]
  4983. 00003374  486D DF10                pea.l      [A5 - 0x20F0]
  4984. 00003378  3F3C 0009                move.w     -[A7], 0x9 /* '\t' */
  4985. 0000337C  2F0A                     move.l     -[A7], A2
  4986. 0000337E  4EBA E322                jsr        [PC - 0x1CDE /* 000016A2 */]
  4987. 00003382  4FEF 001E                lea.l      A7, [A7 + 0x1E]
  4988. label00003386:
  4989. 00003386  2F0A                     move.l     -[A7], A2
  4990. 00003388  206D 133E                movea.l    A0, [A5 + 0x133E]
  4991. 0000338C  4E90                     jsr        [A0]
  4992. 0000338E  356D B418 006C           move.w     [A2 + 0x6C], [A5 - 0x4BE8]
  4993. 00003394  504F                     addq.w     A7, 8
  4994. 00003396  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  4995. 0000339A  4E75                     rts
  4996. fn0000339C:
  4997. 0000339C  48E7 0030                movem.l    -[A7], A2,A3
  4998. 000033A0  514F                     subq.w     A7, 8
  4999. 000033A2  246F 0014                movea.l    A2, [A7 + 0x14]
  5000. 000033A6  2F0A                     move.l     -[A7], A2
  5001. 000033A8  4EBA DDA4                jsr        [PC - 0x225C /* 0000114E */]
  5002. 000033AC  486F 0004                pea.l      [A7 + 0x4]
  5003. 000033B0  3F3C 0007                move.w     -[A7], 0x7
  5004. 000033B4  2F0A                     move.l     -[A7], A2
  5005. 000033B6  4EBA E320                jsr        [PC - 0x1CE0 /* 000016D8 */]
  5006. 000033BA  4267                     clr.w      -[A7]
  5007. 000033BC  42A7                     clr.l      -[A7]
  5008. 000033BE  486D DF30                pea.l      [A5 - 0x20D0]
  5009. 000033C2  486F 0018                pea.l      [A7 + 0x18]
  5010. 000033C6  2F0A                     move.l     -[A7], A2
  5011. 000033C8  4EAD F8B0                jsr        [A5 - 0x750]
  5012. 000033CC  2648                     movea.l    A3, A0
  5013. 000033CE  4EBA DDA0                jsr        [PC - 0x2260 /* 00001170 */]
  5014. 000033D2  200B                     move.l     D0, A3
  5015. 000033D4  4FEF 0020                lea.l      A7, [A7 + 0x20]
  5016. 000033D8  6714                     beq        +0x16 /* 000033EE */
  5017. 000033DA  486D DF28                pea.l      [A5 - 0x20D8]
  5018. 000033DE  3F3C 0007                move.w     -[A7], 0x7
  5019. 000033E2  2F0A                     move.l     -[A7], A2
  5020. 000033E4  4EBA E2BC                jsr        [PC - 0x1D44 /* 000016A2 */]
  5021. 000033E8  4FEF 000A                lea.l      A7, [A7 + 0xA]
  5022. 000033EC  600C                     bra        +0xE /* 000033FA */
  5023. label000033EE:
  5024. 000033EE  2F3C 0002 FF94           move.l     -[A7], 0x2FF94
  5025. 000033F4  4EBA EDD4                jsr        [PC - 0x122C /* 000021CA */]
  5026. 000033F8  584F                     addq.w     A7, 4
  5027. label000033FA:
  5028. 000033FA  204B                     movea.l    A0, A3
  5029. 000033FC  504F                     addq.w     A7, 8
  5030. 000033FE  4CDF 0C00                movem.l    A2,A3, [A7]+
  5031. 00003402  4E75                     rts
  5032. 00003404  2F0A                     move.l     -[A7], A2
  5033. 00003406  594F                     subq.w     A7, 4
  5034. 00003408  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  5035. 0000340C  A917                     syscall    GetWRefCon
  5036. 0000340E  201F                     move.l     D0, [A7]+
  5037. 00003410  2440                     movea.l    A2, D0
  5038. 00003412  200A                     move.l     D0, A2
  5039. 00003414  670A                     beq        +0xC /* 00003420 */
  5040. 00003416  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  5041. 0000341A  4EAD F8E8                jsr        [A5 - 0x718]
  5042. 0000341E  584F                     addq.w     A7, 4
  5043. label00003420:
  5044. 00003420  245F                     movea.l    A2, [A7]+
  5045. 00003422  205F                     movea.l    A0, [A7]+
  5046. 00003424  5C4F                     addq.w     A7, 6
  5047. 00003426  4ED0                     jmp        [A0]
  5048. fn00003428:
  5049. 00003428  48E7 1C3A                movem.l    -[A7], D3,D4,D5,A2,A3,A4,A6
  5050. 0000342C  4FEF FFEC                lea.l      A7, [A7 - 0x14]
  5051. 00003430  2C6F 0034                movea.l    A6, [A7 + 0x34]
  5052. 00003434  266F 0038                movea.l    A3, [A7 + 0x38]
  5053. 00003438  286F 003C                movea.l    A4, [A7 + 0x3C]
  5054. 0000343C  594F                     subq.w     A7, 4
  5055. 0000343E  2F0C                     move.l     -[A7], A4
  5056. 00003440  4EAD D9AC                jsr        [A5 - 0x2654]
  5057. 00003444  201F                     move.l     D0, [A7]+
  5058. 00003446  7214                     moveq.l    D1, 0x14
  5059. 00003448  4EAD D8FE                jsr        [A5 - 0x2702]
  5060. 0000344C  2600                     move.l     D3, D0
  5061. 0000344E  7800                     moveq.l    D4, 0x00
  5062. 00003450  4A83                     tst.l      D3
  5063. 00003452  6700 0086                beq        +0x88 /* 000034DA */
  5064. 00003456  42A7                     clr.l      -[A7]
  5065. 00003458  2F03                     move.l     -[A7], D3
  5066. 0000345A  2F2B 0004                move.l     -[A7], [A3 + 0x4]
  5067. 0000345E  4EAD F8C8                jsr        [A5 - 0x738]
  5068. 00003462  204C                     movea.l    A0, A4
  5069. 00003464  A029                     syscall    HLock
  5070. 00003466  2454                     movea.l    A2, [A4]
  5071. 00003468  7A00                     moveq.l    D5, 0x00
  5072. 0000346A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5073. 0000346E  6044                     bra        +0x46 /* 000034B4 */
  5074. label00003470:
  5075. 00003470  41D2                     lea.l      A0, [A2]
  5076. 00003472  43D7                     lea.l      A1, [A7]
  5077. 00003474  7004                     moveq.l    D0, 0x04
  5078. label00003476:
  5079. 00003476  22D8                     move.l     [A1]+, [A0]+
  5080. 00003478  51C8 FFFC                dbf        D0, -0x6 /* 00003476 */
  5081. 0000347C  2F12                     move.l     -[A7], [A2]
  5082. 0000347E  4EBA E316                jsr        [PC - 0x1CEA /* 00001796 */]
  5083. 00003482  2F48 0004                move.l     [A7 + 0x4], A0
  5084. 00003486  2008                     move.l     D0, A0
  5085. 00003488  584F                     addq.w     A7, 4
  5086. 0000348A  660C                     bne        +0xE /* 00003498 */
  5087. 0000348C  554F                     subq.w     A7, 2
  5088. 0000348E  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  5089. 00003492  301F                     move.w     D0, [A7]+
  5090. 00003494  3800                     move.w     D4, D0
  5091. 00003496  6020                     bra        +0x22 /* 000034B8 */
  5092. label00003498:
  5093. 00003498  4878 0014                push.l     0x14
  5094. 0000349C  486F 0004                pea.l      [A7 + 0x4]
  5095. 000034A0  2F05                     move.l     -[A7], D5
  5096. 000034A2  2F2B 0004                move.l     -[A7], [A3 + 0x4]
  5097. 000034A6  4EAD F8D8                jsr        [A5 - 0x728]
  5098. 000034AA  5285                     addq.l     D5, 1
  5099. 000034AC  7014                     moveq.l    D0, 0x14
  5100. 000034AE  D5C0                     add.l      A2, D0
  5101. 000034B0  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5102. label000034B4:
  5103. 000034B4  BA83                     cmp.l      D5, D3
  5104. 000034B6  6DB8                     blt        -0x46 /* 00003470 */
  5105. label000034B8:
  5106. 000034B8  204C                     movea.l    A0, A4
  5107. 000034BA  A02A                     syscall    HUnlock
  5108. 000034BC  4A44                     tst.w      D4
  5109. 000034BE  6622                     bne        +0x24 /* 000034E2 */
  5110. 000034C0  42A7                     clr.l      -[A7]
  5111. 000034C2  2F2B 0004                move.l     -[A7], [A3 + 0x4]
  5112. 000034C6  4EAD F900                jsr        [A5 - 0x700]
  5113. 000034CA  42A7                     clr.l      -[A7]
  5114. 000034CC  2F0B                     move.l     -[A7], A3
  5115. 000034CE  2F0E                     move.l     -[A7], A6
  5116. 000034D0  4EBA 0186                jsr        [PC + 0x186 /* 00003658 */]
  5117. 000034D4  4FEF 0014                lea.l      A7, [A7 + 0x14]
  5118. 000034D8  6008                     bra        +0xA /* 000034E2 */
  5119. label000034DA:
  5120. 000034DA  2F0E                     move.l     -[A7], A6
  5121. 000034DC  4EBA 04E0                jsr        [PC + 0x4E0 /* 000039BE */]
  5122. 000034E0  584F                     addq.w     A7, 4
  5123. label000034E2:
  5124. 000034E2  3004                     move.w     D0, D4
  5125. 000034E4  4FEF 0014                lea.l      A7, [A7 + 0x14]
  5126. 000034E8  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  5127. 000034EC  4E75                     rts
  5128. 000034EE  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  5129. 000034F2  4FEF FEFA                lea.l      A7, [A7 - 0x106]
  5130. 000034F6  266F 0126                movea.l    A3, [A7 + 0x126]
  5131. 000034FA  246F 012A                movea.l    A2, [A7 + 0x12A]
  5132. 000034FE  7801                     moveq.l    D4, 0x01
  5133. 00003500  2F0B                     move.l     -[A7], A3
  5134. 00003502  A8A3                     syscall    EraseRect
  5135. 00003504  4A92                     tst.l      [A2]
  5136. 00003506  6700 00F4                beq        +0xF6 /* 000035FC */
  5137. 0000350A  2052                     movea.l    A0, [A2]
  5138. 0000350C  A029                     syscall    HLock
  5139. 0000350E  2052                     movea.l    A0, [A2]
  5140. 00003510  2F10                     move.l     -[A7], [A0]
  5141. 00003512  486F 000A                pea.l      [A7 + 0xA]
  5142. 00003516  4EBA E0EC                jsr        [PC - 0x1F14 /* 00001604 */]
  5143. 0000351A  2052                     movea.l    A0, [A2]
  5144. 0000351C  A02A                     syscall    HUnlock
  5145. 0000351E  4EBA DCBE                jsr        [PC - 0x2342 /* 000011DE */]
  5146. 00003522  302B 0002                move.w     D0, [A3 + 0x2]
  5147. 00003526  48C0                     ext.l      D0
  5148. 00003528  362B 0006                move.w     D3, [A3 + 0x6]
  5149. 0000352C  48C3                     ext.l      D3
  5150. 0000352E  9680                     sub.l      D3, D0
  5151. 00003530  4A2A 0012                tst.b      [A2 + 0x12]
  5152. 00003534  504F                     addq.w     A7, 8
  5153. 00003536  674A                     beq        +0x4C /* 00003582 */
  5154. 00003538  554F                     subq.w     A7, 2
  5155. 0000353A  3F3C 004D                move.w     -[A7], 0x4D /* 'M' */
  5156. 0000353E  A88D                     syscall    CharWidth
  5157. 00003540  301F                     move.w     D0, [A7]+
  5158. 00003542  48C0                     ext.l      D0
  5159. 00003544  2E80                     move.l     [A7], D0
  5160. 00003546  554F                     subq.w     A7, 2
  5161. 00003548  3F3C 0011                move.w     -[A7], 0x11
  5162. 0000354C  A88D                     syscall    CharWidth
  5163. 0000354E  301F                     move.w     D0, [A7]+
  5164. 00003550  48C0                     ext.l      D0
  5165. 00003552  D097                     add.l      D0, [A7]
  5166. 00003554  3A00                     move.w     D5, D0
  5167. 00003556  9640                     sub.w      D3, D0
  5168. 00003558  554F                     subq.w     A7, 2
  5169. 0000355A  3F3C 004D                move.w     -[A7], 0x4D /* 'M' */
  5170. 0000355E  A88D                     syscall    CharWidth
  5171. 00003560  301F                     move.w     D0, [A7]+
  5172. 00003562  9640                     sub.w      D3, D0
  5173. 00003564  601C                     bra        +0x1E /* 00003582 */
  5174. label00003566:
  5175. 00003566  4A84                     tst.l      D4
  5176. 00003568  670A                     beq        +0xC /* 00003574 */
  5177. 0000356A  7800                     moveq.l    D4, 0x00
  5178. 0000356C  3F3C 0020                move.w     -[A7], 0x20 /* ' ' */
  5179. 00003570  A888                     syscall    TextFace
  5180. 00003572  600E                     bra        +0x10 /* 00003582 */
  5181. label00003574:
  5182. 00003574  3F03                     move.w     -[A7], D3
  5183. 00003576  486F 0008                pea.l      [A7 + 0x8]
  5184. 0000357A  4267                     clr.w      -[A7]
  5185. 0000357C  4EBA E38C                jsr        [PC - 0x1C74 /* 0000190A */]
  5186. 00003580  6014                     bra        +0x16 /* 00003596 */
  5187. label00003582:
  5188. 00003582  4A2F 0006                tst.b      [A7 + 0x6]
  5189. 00003586  670E                     beq        +0x10 /* 00003596 */
  5190. 00003588  554F                     subq.w     A7, 2
  5191. 0000358A  486F 0008                pea.l      [A7 + 0x8]
  5192. 0000358E  A88C                     syscall    StringWidth
  5193. 00003590  301F                     move.w     D0, [A7]+
  5194. 00003592  B043                     cmp.w      D0, D3
  5195. 00003594  6ED0                     bgt        -0x2E /* 00003566 */
  5196. label00003596:
  5197. 00003596  486F 0004                pea.l      [A7 + 0x4]
  5198. 0000359A  4EBA DE26                jsr        [PC - 0x21DA /* 000013C2 */]
  5199. 0000359E  302B 0002                move.w     D0, [A3 + 0x2]
  5200. 000035A2  48C0                     ext.l      D0
  5201. 000035A4  5480                     addq.l     D0, 2
  5202. 000035A6  3F00                     move.w     -[A7], D0
  5203. 000035A8  302F 000A                move.w     D0, [A7 + 0xA]
  5204. 000035AC  48C0                     ext.l      D0
  5205. 000035AE  3213                     move.w     D1, [A3]
  5206. 000035B0  48C1                     ext.l      D1
  5207. 000035B2  D280                     add.l      D1, D0
  5208. 000035B4  3F01                     move.w     -[A7], D1
  5209. 000035B6  A893                     syscall    MoveTo
  5210. 000035B8  486F 000A                pea.l      [A7 + 0xA]
  5211. 000035BC  A884                     syscall    DrawString
  5212. 000035BE  4A2A 0012                tst.b      [A2 + 0x12]
  5213. 000035C2  584F                     addq.w     A7, 4
  5214. 000035C4  6732                     beq        +0x34 /* 000035F8 */
  5215. 000035C6  4267                     clr.w      -[A7]
  5216. 000035C8  A888                     syscall    TextFace
  5217. 000035CA  3005                     move.w     D0, D5
  5218. 000035CC  48C0                     ext.l      D0
  5219. 000035CE  322B 0006                move.w     D1, [A3 + 0x6]
  5220. 000035D2  48C1                     ext.l      D1
  5221. 000035D4  9280                     sub.l      D1, D0
  5222. 000035D6  3F01                     move.w     -[A7], D1
  5223. 000035D8  302F 0006                move.w     D0, [A7 + 0x6]
  5224. 000035DC  48C0                     ext.l      D0
  5225. 000035DE  3213                     move.w     D1, [A3]
  5226. 000035E0  48C1                     ext.l      D1
  5227. 000035E2  D280                     add.l      D1, D0
  5228. 000035E4  3F01                     move.w     -[A7], D1
  5229. 000035E6  A893                     syscall    MoveTo
  5230. 000035E8  3F3C 0011                move.w     -[A7], 0x11
  5231. 000035EC  A883                     syscall    DrawChar
  5232. 000035EE  102A 0012                move.b     D0, [A2 + 0x12]
  5233. 000035F2  4880                     ext.w      D0
  5234. 000035F4  3F00                     move.w     -[A7], D0
  5235. 000035F6  A883                     syscall    DrawChar
  5236. label000035F8:
  5237. 000035F8  4EBA DC34                jsr        [PC - 0x23CC /* 0000122E */]
  5238. label000035FC:
  5239. 000035FC  4FEF 0106                lea.l      A7, [A7 + 0x106]
  5240. 00003600  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  5241. 00003604  4E75                     rts
  5242. fn00003606:
  5243. 00003606  48E7 1820                movem.l    -[A7], D3,D4,A2
  5244. 0000360A  4FEF FFE8                lea.l      A7, [A7 - 0x18]
  5245. 0000360E  246F 0028                movea.l    A2, [A7 + 0x28]
  5246. 00003612  2F0A                     move.l     -[A7], A2
  5247. 00003614  4EAD F908                jsr        [A5 - 0x6F8]
  5248. 00003618  2800                     move.l     D4, D0
  5249. 0000361A  7600                     moveq.l    D3, 0x00
  5250. 0000361C  584F                     addq.w     A7, 4
  5251. 0000361E  6024                     bra        +0x26 /* 00003644 */
  5252. label00003620:
  5253. 00003620  7014                     moveq.l    D0, 0x14
  5254. 00003622  2E80                     move.l     [A7], D0
  5255. 00003624  4857                     pea.l      [A7]
  5256. 00003626  486F 0008                pea.l      [A7 + 0x8]
  5257. 0000362A  2F03                     move.l     -[A7], D3
  5258. 0000362C  2F0A                     move.l     -[A7], A2
  5259. 0000362E  4EAD F8E0                jsr        [A5 - 0x720]
  5260. 00003632  4AAF 0014                tst.l      [A7 + 0x14]
  5261. 00003636  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5262. 0000363A  6706                     beq        +0x8 /* 00003642 */
  5263. 0000363C  206F 0004                movea.l    A0, [A7 + 0x4]
  5264. 00003640  A023                     syscall    DisposHandle/DisposeHandle
  5265. label00003642:
  5266. 00003642  5283                     addq.l     D3, 1
  5267. label00003644:
  5268. 00003644  B684                     cmp.l      D3, D4
  5269. 00003646  6DD8                     blt        -0x26 /* 00003620 */
  5270. 00003648  2F0A                     move.l     -[A7], A2
  5271. 0000364A  4EAD F8B8                jsr        [A5 - 0x748]
  5272. 0000364E  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  5273. 00003652  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  5274. 00003656  4E75                     rts
  5275. fn00003658:
  5276. 00003658  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  5277. 0000365C  4FEF FEE8                lea.l      A7, [A7 - 0x118]
  5278. 00003660  266F 012C                movea.l    A3, [A7 + 0x12C]
  5279. 00003664  246F 0130                movea.l    A2, [A7 + 0x130]
  5280. 00003668  7600                     moveq.l    D3, 0x00
  5281. 0000366A  7014                     moveq.l    D0, 0x14
  5282. 0000366C  2F40 0100                move.l     [A7 + 0x100], D0
  5283. 00003670  4AAF 0134                tst.l      [A7 + 0x134]
  5284. 00003674  6718                     beq        +0x1A /* 0000368E */
  5285. 00003676  4A6D 8334                tst.w      [A5 - 0x7CCC]
  5286. 0000367A  6712                     beq        +0x14 /* 0000368E */
  5287. 0000367C  0C6D 0001 8334           cmpi.w     [A5 - 0x7CCC], 0x1
  5288. 00003682  670A                     beq        +0xC /* 0000368E */
  5289. 00003684  2F2D 8336                move.l     -[A7], [A5 - 0x7CCA]
  5290. 00003688  3F2D 8334                move.w     -[A7], [A5 - 0x7CCC]
  5291. 0000368C  A93A                     syscall    DisableItem
  5292. label0000368E:
  5293. 0000368E  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  5294. 00003692  4EAD F8F8                jsr        [A5 - 0x708]
  5295. 00003696  2800                     move.l     D4, D0
  5296. 00003698  4A84                     tst.l      D4
  5297. 0000369A  584F                     addq.w     A7, 4
  5298. 0000369C  4E71                     nop
  5299. 0000369E  486F 0100                pea.l      [A7 + 0x100]
  5300. 000036A2  486F 0108                pea.l      [A7 + 0x108]
  5301. 000036A6  2F04                     move.l     -[A7], D4
  5302. 000036A8  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  5303. 000036AC  4EAD F8E0                jsr        [A5 - 0x720]
  5304. 000036B0  4AAF 0114                tst.l      [A7 + 0x114]
  5305. 000036B4  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5306. 000036B8  673A                     beq        +0x3C /* 000036F4 */
  5307. 000036BA  206F 0104                movea.l    A0, [A7 + 0x104]
  5308. 000036BE  A029                     syscall    HLock
  5309. 000036C0  206F 0104                movea.l    A0, [A7 + 0x104]
  5310. 000036C4  2F10                     move.l     -[A7], [A0]
  5311. 000036C6  486F 0004                pea.l      [A7 + 0x4]
  5312. 000036CA  4EBA DF38                jsr        [PC - 0x20C8 /* 00001604 */]
  5313. 000036CE  206F 010C                movea.l    A0, [A7 + 0x10C]
  5314. 000036D2  A02A                     syscall    HUnlock
  5315. 000036D4  3F3C 0004                move.w     -[A7], 0x4
  5316. 000036D8  2F0B                     move.l     -[A7], A3
  5317. 000036DA  4EBA DFA2                jsr        [PC - 0x205E /* 0000167E */]
  5318. 000036DE  5C4F                     addq.w     A7, 6
  5319. 000036E0  2F08                     move.l     -[A7], A0
  5320. 000036E2  486F 000C                pea.l      [A7 + 0xC]
  5321. 000036E6  A98F                     syscall    SetDialogItemText/SetIText
  5322. 000036E8  2F0A                     move.l     -[A7], A2
  5323. 000036EA  2F0B                     move.l     -[A7], A3
  5324. 000036EC  4EBA 0600                jsr        [PC + 0x600 /* 00003CEE */]
  5325. 000036F0  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5326. label000036F4:
  5327. 000036F4  4A2F 0116                tst.b      [A7 + 0x116]
  5328. 000036F8  660A                     bne        +0xC /* 00003704 */
  5329. 000036FA  7001                     moveq.l    D0, 0x01
  5330. 000036FC  2600                     move.l     D3, D0
  5331. 000036FE  3B40 8334                move.w     [A5 - 0x7CCC], D0
  5332. 00003702  6020                     bra        +0x22 /* 00003724 */
  5333. label00003704:
  5334. 00003704  1F2F 0116                move.b     -[A7], [A7 + 0x116]
  5335. 00003708  2F2A 0010                move.l     -[A7], [A2 + 0x10]
  5336. 0000370C  4EBA 00EE                jsr        [PC + 0xEE /* 000037FC */]
  5337. 00003710  3800                     move.w     D4, D0
  5338. 00003712  5C4F                     addq.w     A7, 6
  5339. 00003714  670E                     beq        +0x10 /* 00003724 */
  5340. 00003716  2F2D 8336                move.l     -[A7], [A5 - 0x7CCA]
  5341. 0000371A  3F04                     move.w     -[A7], D4
  5342. 0000371C  A939                     syscall    EnableItem
  5343. 0000371E  3B44 8334                move.w     [A5 - 0x7CCC], D4
  5344. 00003722  7601                     moveq.l    D3, 0x01
  5345. label00003724:
  5346. 00003724  4A83                     tst.l      D3
  5347. 00003726  6714                     beq        +0x16 /* 0000373C */
  5348. 00003728  1F3C 0001                move.b     -[A7], 0x1
  5349. 0000372C  3F3C 0005                move.w     -[A7], 0x5
  5350. 00003730  42A7                     clr.l      -[A7]
  5351. 00003732  2F0B                     move.l     -[A7], A3
  5352. 00003734  4EBA F7A2                jsr        [PC - 0x85E /* 00002ED8 */]
  5353. 00003738  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5354. label0000373C:
  5355. 0000373C  4FEF 0118                lea.l      A7, [A7 + 0x118]
  5356. 00003740  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  5357. 00003744  4E75                     rts
  5358. fn00003746:
  5359. 00003746  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  5360. 0000374A  266F 0018                movea.l    A3, [A7 + 0x18]
  5361. 0000374E  594F                     subq.w     A7, 4
  5362. 00003750  2F0B                     move.l     -[A7], A3
  5363. 00003752  A917                     syscall    GetWRefCon
  5364. 00003754  201F                     move.l     D0, [A7]+
  5365. 00003756  2440                     movea.l    A2, D0
  5366. 00003758  2F0B                     move.l     -[A7], A3
  5367. 0000375A  4EBA D9F2                jsr        [PC - 0x260E /* 0000114E */]
  5368. 0000375E  486F 0020                pea.l      [A7 + 0x20]
  5369. 00003762  A871                     syscall    GlobalToLocal
  5370. 00003764  4EBA DA0A                jsr        [PC - 0x25F6 /* 00001170 */]
  5371. 00003768  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  5372. 0000376C  4EAD F8F8                jsr        [A5 - 0x708]
  5373. 00003770  2800                     move.l     D4, D0
  5374. 00003772  2F2F 0024                move.l     -[A7], [A7 + 0x24]
  5375. 00003776  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  5376. 0000377A  4EAD F918                jsr        [A5 - 0x6E8]
  5377. 0000377E  2B40 B452                move.l     [A5 - 0x4BAE], D0
  5378. 00003782  B880                     cmp.l      D4, D0
  5379. 00003784  57C0                     seq        D0
  5380. 00003786  4400                     neg.b      D0
  5381. 00003788  4880                     ext.w      D0
  5382. 0000378A  48C0                     ext.l      D0
  5383. 0000378C  2600                     move.l     D3, D0
  5384. 0000378E  302D 135E                move.w     D0, [A5 + 0x135E]
  5385. 00003792  48C0                     ext.l      D0
  5386. 00003794  0680 0000 0081           addi.l     D0, 0x81
  5387. 0000379A  3F00                     move.w     -[A7], D0
  5388. 0000379C  4EBA DC56                jsr        [PC - 0x23AA /* 000013F4 */]
  5389. 000037A0  486D DF38                pea.l      [A5 - 0x20C8]
  5390. 000037A4  2F2F 0030                move.l     -[A7], [A7 + 0x30]
  5391. 000037A8  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  5392. 000037AC  4EAD F910                jsr        [A5 - 0x6F0]
  5393. 000037B0  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  5394. 000037B4  4EAD F8F8                jsr        [A5 - 0x708]
  5395. 000037B8  2A00                     move.l     D5, D0
  5396. 000037BA  4A85                     tst.l      D5
  5397. 000037BC  4FEF 0020                lea.l      A7, [A7 + 0x20]
  5398. 000037C0  6C20                     bge        +0x22 /* 000037E2 */
  5399. 000037C2  2F04                     move.l     -[A7], D4
  5400. 000037C4  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  5401. 000037C8  4EAD F900                jsr        [A5 - 0x700]
  5402. 000037CC  4878 0001                push.l     0x1
  5403. 000037D0  2F0A                     move.l     -[A7], A2
  5404. 000037D2  2F0B                     move.l     -[A7], A3
  5405. 000037D4  4EBA FE82                jsr        [PC - 0x17E /* 00003658 */]
  5406. 000037D8  4FEF 0014                lea.l      A7, [A7 + 0x14]
  5407. 000037DC  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  5408. 000037E0  4E75                     rts
  5409. label000037E2:
  5410. 000037E2  4A83                     tst.l      D3
  5411. 000037E4  6610                     bne        +0x12 /* 000037F6 */
  5412. 000037E6  4878 0001                push.l     0x1
  5413. 000037EA  2F0A                     move.l     -[A7], A2
  5414. 000037EC  2F0B                     move.l     -[A7], A3
  5415. 000037EE  4EBA FE68                jsr        [PC - 0x198 /* 00003658 */]
  5416. 000037F2  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5417. label000037F6:
  5418. 000037F6  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  5419. 000037FA  4E75                     rts
  5420. fn000037FC:
  5421. 000037FC  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  5422. 00003800  266F 0018                movea.l    A3, [A7 + 0x18]
  5423. 00003804  1A2F 001C                move.b     D5, [A7 + 0x1C]
  5424. 00003808  594F                     subq.w     A7, 4
  5425. 0000380A  2F0B                     move.l     -[A7], A3
  5426. 0000380C  4EAD D9AC                jsr        [A5 - 0x2654]
  5427. 00003810  201F                     move.l     D0, [A7]+
  5428. 00003812  2800                     move.l     D4, D0
  5429. 00003814  2453                     movea.l    A2, [A3]
  5430. 00003816  7603                     moveq.l    D3, 0x03
  5431. 00003818  6010                     bra        +0x12 /* 0000382A */
  5432. label0000381A:
  5433. 0000381A  BA32 3800                cmp.b      D5, [A2 + D3]
  5434. 0000381E  6608                     bne        +0xA /* 00003828 */
  5435. 00003820  3003                     move.w     D0, D3
  5436. 00003822  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  5437. 00003826  4E75                     rts
  5438. label00003828:
  5439. 00003828  5283                     addq.l     D3, 1
  5440. label0000382A:
  5441. 0000382A  B684                     cmp.l      D3, D4
  5442. 0000382C  6FEC                     ble        -0x12 /* 0000381A */
  5443. 0000382E  7000                     moveq.l    D0, 0x00
  5444. 00003830  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  5445. 00003834  4E75                     rts
  5446. fn00003836:
  5447. 00003836  48E7 1C20                movem.l    -[A7], D3,D4,D5,A2
  5448. 0000383A  4FEF FEE8                lea.l      A7, [A7 - 0x118]
  5449. 0000383E  246F 0130                movea.l    A2, [A7 + 0x130]
  5450. 00003842  7014                     moveq.l    D0, 0x14
  5451. 00003844  2E80                     move.l     [A7], D0
  5452. 00003846  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  5453. 0000384A  4EAD F8F8                jsr        [A5 - 0x708]
  5454. 0000384E  2A00                     move.l     D5, D0
  5455. 00003850  4A85                     tst.l      D5
  5456. 00003852  584F                     addq.w     A7, 4
  5457. 00003854  6D00 00E2                blt        +0xE4 /* 00003938 */
  5458. 00003858  4857                     pea.l      [A7]
  5459. 0000385A  486F 0108                pea.l      [A7 + 0x108]
  5460. 0000385E  2F05                     move.l     -[A7], D5
  5461. 00003860  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  5462. 00003864  4EAD F8E0                jsr        [A5 - 0x720]
  5463. 00003868  4AAF 0114                tst.l      [A7 + 0x114]
  5464. 0000386C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5465. 00003870  6700 00C6                beq        +0xC8 /* 00003938 */
  5466. 00003874  3F3C 0004                move.w     -[A7], 0x4
  5467. 00003878  2F2F 012E                move.l     -[A7], [A7 + 0x12E]
  5468. 0000387C  4EBA DE00                jsr        [PC - 0x2200 /* 0000167E */]
  5469. 00003880  5C4F                     addq.w     A7, 6
  5470. 00003882  2F08                     move.l     -[A7], A0
  5471. 00003884  486F 0008                pea.l      [A7 + 0x8]
  5472. 00003888  A990                     syscall    GetDialogItemText/GetIText
  5473. 0000388A  4A2F 0004                tst.b      [A7 + 0x4]
  5474. 0000388E  660C                     bne        +0xE /* 0000389C */
  5475. 00003890  1F7C 0001 0004           move.b     [A7 + 0x4], 0x1
  5476. 00003896  1F7C 0020 0005           move.b     [A7 + 0x5], 0x20 /* ' ' */
  5477. label0000389C:
  5478. 0000389C  486F 0004                pea.l      [A7 + 0x4]
  5479. 000038A0  4EBA 0E0A                jsr        [PC + 0xE0A /* 000046AC */]
  5480. 000038A4  486F 0008                pea.l      [A7 + 0x8]
  5481. 000038A8  4EAD DA72                jsr        [A5 - 0x258E]
  5482. 000038AC  206F 010C                movea.l    A0, [A7 + 0x10C]
  5483. 000038B0  A029                     syscall    HLock
  5484. 000038B2  486F 000C                pea.l      [A7 + 0xC]
  5485. 000038B6  206F 0110                movea.l    A0, [A7 + 0x110]
  5486. 000038BA  2F10                     move.l     -[A7], [A0]
  5487. 000038BC  4EAD E458                jsr        [A5 - 0x1BA8]
  5488. 000038C0  4A80                     tst.l      D0
  5489. 000038C2  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5490. 000038C6  676A                     beq        +0x6C /* 00003932 */
  5491. 000038C8  41EF 0004                lea.l      A0, [A7 + 0x4]
  5492. 000038CC  70FF                     moveq.l    D0, 0xFFFFFFFF
  5493. label000038CE:
  5494. 000038CE  5280                     addq.l     D0, 1
  5495. 000038D0  4A18                     tst.b      [A0]+
  5496. 000038D2  66FA                     bne        -0x4 /* 000038CE */
  5497. 000038D4  5280                     addq.l     D0, 1
  5498. 000038D6  2600                     move.l     D3, D0
  5499. 000038D8  206F 0104                movea.l    A0, [A7 + 0x104]
  5500. 000038DC  A02A                     syscall    HUnlock
  5501. 000038DE  206F 0104                movea.l    A0, [A7 + 0x104]
  5502. 000038E2  2003                     move.l     D0, D3
  5503. 000038E4  A024                     syscall    SetHandleSize
  5504. 000038E6  554F                     subq.w     A7, 2
  5505. 000038E8  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  5506. 000038EC  301F                     move.w     D0, [A7]+
  5507. 000038EE  3800                     move.w     D4, D0
  5508. 000038F0  671C                     beq        +0x1E /* 0000390E */
  5509. 000038F2  3F04                     move.w     -[A7], D4
  5510. 000038F4  3F3C 0002                move.w     -[A7], 0x2
  5511. 000038F8  4EBA E8D0                jsr        [PC - 0x1730 /* 000021CA */]
  5512. 000038FC  3F3C 0002                move.w     -[A7], 0x2
  5513. 00003900  4EBA 0EF0                jsr        [PC + 0xEF0 /* 000047F2 */]
  5514. 00003904  4FEF 011C                lea.l      A7, [A7 + 0x11C]
  5515. 00003908  4CDF 0438                movem.l    D3,D4,D5,A2, [A7]+
  5516. 0000390C  4E75                     rts
  5517. label0000390E:
  5518. 0000390E  41EF 0004                lea.l      A0, [A7 + 0x4]
  5519. 00003912  226F 0104                movea.l    A1, [A7 + 0x104]
  5520. 00003916  2251                     movea.l    A1, [A1]
  5521. 00003918  2003                     move.l     D0, D3
  5522. 0000391A  A02E                     syscall    BlockMove/BlockMoveData
  5523. 0000391C  2F17                     move.l     -[A7], [A7]
  5524. 0000391E  486F 0108                pea.l      [A7 + 0x108]
  5525. 00003922  2F05                     move.l     -[A7], D5
  5526. 00003924  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  5527. 00003928  4EAD F8D8                jsr        [A5 - 0x728]
  5528. 0000392C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5529. 00003930  6006                     bra        +0x8 /* 00003938 */
  5530. label00003932:
  5531. 00003932  206F 0104                movea.l    A0, [A7 + 0x104]
  5532. 00003936  A02A                     syscall    HUnlock
  5533. label00003938:
  5534. 00003938  4FEF 0118                lea.l      A7, [A7 + 0x118]
  5535. 0000393C  4CDF 0438                movem.l    D3,D4,D5,A2, [A7]+
  5536. 00003940  4E75                     rts
  5537. fn00003942:
  5538. 00003942  2F0A                     move.l     -[A7], A2
  5539. 00003944  594F                     subq.w     A7, 4
  5540. 00003946  246F 0010                movea.l    A2, [A7 + 0x10]
  5541. 0000394A  7014                     moveq.l    D0, 0x14
  5542. 0000394C  2E80                     move.l     [A7], D0
  5543. 0000394E  206F 000C                movea.l    A0, [A7 + 0xC]
  5544. 00003952  2F28 0004                move.l     -[A7], [A0 + 0x4]
  5545. 00003956  4EAD F8F8                jsr        [A5 - 0x708]
  5546. 0000395A  2480                     move.l     [A2], D0
  5547. 0000395C  4A92                     tst.l      [A2]
  5548. 0000395E  584F                     addq.w     A7, 4
  5549. 00003960  4E71                     nop
  5550. 00003962  4857                     pea.l      [A7]
  5551. 00003964  2F2F 0018                move.l     -[A7], [A7 + 0x18]
  5552. 00003968  2F12                     move.l     -[A7], [A2]
  5553. 0000396A  206F 0018                movea.l    A0, [A7 + 0x18]
  5554. 0000396E  2F28 0004                move.l     -[A7], [A0 + 0x4]
  5555. 00003972  4EAD F8E0                jsr        [A5 - 0x720]
  5556. 00003976  4FEF 0014                lea.l      A7, [A7 + 0x14]
  5557. 0000397A  245F                     movea.l    A2, [A7]+
  5558. 0000397C  4E75                     rts
  5559. fn0000397E:
  5560. 0000397E  2F0A                     move.l     -[A7], A2
  5561. 00003980  4FEF FFE8                lea.l      A7, [A7 - 0x18]
  5562. 00003984  594F                     subq.w     A7, 4
  5563. 00003986  2F2F 0024                move.l     -[A7], [A7 + 0x24]
  5564. 0000398A  A917                     syscall    GetWRefCon
  5565. 0000398C  201F                     move.l     D0, [A7]+
  5566. 0000398E  2440                     movea.l    A2, D0
  5567. 00003990  486F 0004                pea.l      [A7 + 0x4]
  5568. 00003994  486F 0004                pea.l      [A7 + 0x4]
  5569. 00003998  2F0A                     move.l     -[A7], A2
  5570. 0000399A  4EBA FFA6                jsr        [PC - 0x5A /* 00003942 */]
  5571. 0000399E  42A7                     clr.l      -[A7]
  5572. 000039A0  3F2F 0022                move.w     -[A7], [A7 + 0x22]
  5573. 000039A4  3F2F 0022                move.w     -[A7], [A7 + 0x22]
  5574. 000039A8  4878 FFFF                push.l     0xFFFF
  5575. 000039AC  2F2F 0020                move.l     -[A7], [A7 + 0x20]
  5576. 000039B0  2F12                     move.l     -[A7], [A2]
  5577. 000039B2  4EAD E9E0                jsr        [A5 - 0x1620]
  5578. 000039B6  4FEF 0038                lea.l      A7, [A7 + 0x38]
  5579. 000039BA  245F                     movea.l    A2, [A7]+
  5580. 000039BC  4E75                     rts
  5581. fn000039BE:
  5582. 000039BE  48E7 0030                movem.l    -[A7], A2,A3
  5583. 000039C2  266F 000C                movea.l    A3, [A7 + 0xC]
  5584. 000039C6  594F                     subq.w     A7, 4
  5585. 000039C8  2F0B                     move.l     -[A7], A3
  5586. 000039CA  A917                     syscall    GetWRefCon
  5587. 000039CC  201F                     move.l     D0, [A7]+
  5588. 000039CE  2440                     movea.l    A2, D0
  5589. 000039D0  3F3C 0004                move.w     -[A7], 0x4
  5590. 000039D4  2F0B                     move.l     -[A7], A3
  5591. 000039D6  4EBA DCA6                jsr        [PC - 0x235A /* 0000167E */]
  5592. 000039DA  5C4F                     addq.w     A7, 6
  5593. 000039DC  2F08                     move.l     -[A7], A0
  5594. 000039DE  486D B45F                pea.l      [A5 - 0x4BA1]
  5595. 000039E2  A98F                     syscall    SetDialogItemText/SetIText
  5596. 000039E4  2F2B 00A0                move.l     -[A7], [A3 + 0xA0]
  5597. 000039E8  A9D9                     syscall    TEDeactivate
  5598. 000039EA  2F2A 0008                move.l     -[A7], [A2 + 0x8]
  5599. 000039EE  3F3C 00FF                move.w     -[A7], 0xFF
  5600. 000039F2  A95D                     syscall    HiliteControl
  5601. 000039F4  4AAA 000C                tst.l      [A2 + 0xC]
  5602. 000039F8  670A                     beq        +0xC /* 00003A04 */
  5603. 000039FA  2F2A 000C                move.l     -[A7], [A2 + 0xC]
  5604. 000039FE  3F3C 00FF                move.w     -[A7], 0xFF
  5605. 00003A02  A95D                     syscall    HiliteControl
  5606. label00003A04:
  5607. 00003A04  42AD 8330                clr.l      [A5 - 0x7CD0]
  5608. 00003A08  1F3C 0004                move.b     -[A7], 0x4
  5609. 00003A0C  3F3C 0005                move.w     -[A7], 0x5
  5610. 00003A10  42A7                     clr.l      -[A7]
  5611. 00003A12  2F0B                     move.l     -[A7], A3
  5612. 00003A14  4EBA F4C2                jsr        [PC - 0xB3E /* 00002ED8 */]
  5613. 00003A18  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5614. 00003A1C  4CDF 0C00                movem.l    A2,A3, [A7]+
  5615. 00003A20  4E75                     rts
  5616. fn00003A22:
  5617. 00003A22  48E7 1030                movem.l    -[A7], D3,A2,A3
  5618. 00003A26  4FEF FFE8                lea.l      A7, [A7 - 0x18]
  5619. 00003A2A  266F 0028                movea.l    A3, [A7 + 0x28]
  5620. 00003A2E  594F                     subq.w     A7, 4
  5621. 00003A30  2F0B                     move.l     -[A7], A3
  5622. 00003A32  A917                     syscall    GetWRefCon
  5623. 00003A34  201F                     move.l     D0, [A7]+
  5624. 00003A36  2440                     movea.l    A2, D0
  5625. 00003A38  4857                     pea.l      [A7]
  5626. 00003A3A  486F 0018                pea.l      [A7 + 0x18]
  5627. 00003A3E  2F0A                     move.l     -[A7], A2
  5628. 00003A40  4EBA FF00                jsr        [PC - 0x100 /* 00003942 */]
  5629. 00003A44  4AAF 000C                tst.l      [A7 + 0xC]
  5630. 00003A48  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5631. 00003A4C  6704                     beq        +0x6 /* 00003A52 */
  5632. 00003A4E  2057                     movea.l    A0, [A7]
  5633. 00003A50  A023                     syscall    DisposHandle/DisposeHandle
  5634. label00003A52:
  5635. 00003A52  2F2F 0014                move.l     -[A7], [A7 + 0x14]
  5636. 00003A56  4878 0001                push.l     0x1
  5637. 00003A5A  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  5638. 00003A5E  4EAD F8D0                jsr        [A5 - 0x730]
  5639. 00003A62  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  5640. 00003A66  4EAD F908                jsr        [A5 - 0x6F8]
  5641. 00003A6A  2600                     move.l     D3, D0
  5642. 00003A6C  4A83                     tst.l      D3
  5643. 00003A6E  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5644. 00003A72  660A                     bne        +0xC /* 00003A7E */
  5645. 00003A74  2F0B                     move.l     -[A7], A3
  5646. 00003A76  4EBA FF46                jsr        [PC - 0xBA /* 000039BE */]
  5647. 00003A7A  584F                     addq.w     A7, 4
  5648. 00003A7C  6028                     bra        +0x2A /* 00003AA6 */
  5649. label00003A7E:
  5650. 00003A7E  B6AF 0014                cmp.l      D3, [A7 + 0x14]
  5651. 00003A82  6E08                     bgt        +0xA /* 00003A8C */
  5652. 00003A84  2003                     move.l     D0, D3
  5653. 00003A86  5380                     subq.l     D0, 1
  5654. 00003A88  2F40 0014                move.l     [A7 + 0x14], D0
  5655. label00003A8C:
  5656. 00003A8C  2F2F 0014                move.l     -[A7], [A7 + 0x14]
  5657. 00003A90  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  5658. 00003A94  4EAD F900                jsr        [A5 - 0x700]
  5659. 00003A98  42A7                     clr.l      -[A7]
  5660. 00003A9A  2F0A                     move.l     -[A7], A2
  5661. 00003A9C  2F0B                     move.l     -[A7], A3
  5662. 00003A9E  4EBA FBB8                jsr        [PC - 0x448 /* 00003658 */]
  5663. 00003AA2  4FEF 0014                lea.l      A7, [A7 + 0x14]
  5664. label00003AA6:
  5665. 00003AA6  4FEF 0018                lea.l      A7, [A7 + 0x18]
  5666. 00003AAA  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  5667. 00003AAE  4E75                     rts
  5668. fn00003AB0:
  5669. 00003AB0  48E7 1838                movem.l    -[A7], D3,D4,A2,A3,A4
  5670. 00003AB4  594F                     subq.w     A7, 4
  5671. 00003AB6  286F 001C                movea.l    A4, [A7 + 0x1C]
  5672. 00003ABA  2F0C                     move.l     -[A7], A4
  5673. 00003ABC  4EAD F908                jsr        [A5 - 0x6F8]
  5674. 00003AC0  2800                     move.l     D4, D0
  5675. 00003AC2  2004                     move.l     D0, D4
  5676. 00003AC4  7214                     moveq.l    D1, 0x14
  5677. 00003AC6  4EAD D8F8                jsr        [A5 - 0x2708]
  5678. 00003ACA  A122                     syscall    NewHandle, flags=1
  5679. 00003ACC  2648                     movea.l    A3, A0
  5680. 00003ACE  2008                     move.l     D0, A0
  5681. 00003AD0  584F                     addq.w     A7, 4
  5682. 00003AD2  661C                     bne        +0x1E /* 00003AF0 */
  5683. 00003AD4  554F                     subq.w     A7, 2
  5684. 00003AD6  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  5685. 00003ADA  301F                     move.w     D0, [A7]+
  5686. 00003ADC  3F00                     move.w     -[A7], D0
  5687. 00003ADE  3F3C 0002                move.w     -[A7], 0x2
  5688. 00003AE2  4EBA E6E6                jsr        [PC - 0x191A /* 000021CA */]
  5689. 00003AE6  91C8                     sub.l      A0, A0
  5690. 00003AE8  504F                     addq.w     A7, 8
  5691. 00003AEA  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  5692. 00003AEE  4E75                     rts
  5693. label00003AF0:
  5694. 00003AF0  204B                     movea.l    A0, A3
  5695. 00003AF2  A029                     syscall    HLock
  5696. 00003AF4  2453                     movea.l    A2, [A3]
  5697. 00003AF6  7600                     moveq.l    D3, 0x00
  5698. 00003AF8  601C                     bra        +0x1E /* 00003B16 */
  5699. label00003AFA:
  5700. 00003AFA  7014                     moveq.l    D0, 0x14
  5701. 00003AFC  2E80                     move.l     [A7], D0
  5702. 00003AFE  4857                     pea.l      [A7]
  5703. 00003B00  204A                     movea.l    A0, A2
  5704. 00003B02  7014                     moveq.l    D0, 0x14
  5705. 00003B04  D5C0                     add.l      A2, D0
  5706. 00003B06  2F08                     move.l     -[A7], A0
  5707. 00003B08  2F03                     move.l     -[A7], D3
  5708. 00003B0A  2F0C                     move.l     -[A7], A4
  5709. 00003B0C  4EAD F8E0                jsr        [A5 - 0x720]
  5710. 00003B10  5283                     addq.l     D3, 1
  5711. 00003B12  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5712. label00003B16:
  5713. 00003B16  B684                     cmp.l      D3, D4
  5714. 00003B18  6DE0                     blt        -0x1E /* 00003AFA */
  5715. 00003B1A  204B                     movea.l    A0, A3
  5716. 00003B1C  A02A                     syscall    HUnlock
  5717. 00003B1E  204B                     movea.l    A0, A3
  5718. 00003B20  584F                     addq.w     A7, 4
  5719. 00003B22  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  5720. 00003B26  4E75                     rts
  5721. fn00003B28:
  5722. 00003B28  48E7 1020                movem.l    -[A7], D3,A2
  5723. 00003B2C  4FEF FFE8                lea.l      A7, [A7 - 0x18]
  5724. 00003B30  246F 0028                movea.l    A2, [A7 + 0x28]
  5725. 00003B34  7014                     moveq.l    D0, 0x14
  5726. 00003B36  2E80                     move.l     [A7], D0
  5727. 00003B38  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  5728. 00003B3C  4EAD F8F8                jsr        [A5 - 0x708]
  5729. 00003B40  2600                     move.l     D3, D0
  5730. 00003B42  4A83                     tst.l      D3
  5731. 00003B44  584F                     addq.w     A7, 4
  5732. 00003B46  4E71                     nop
  5733. 00003B48  4857                     pea.l      [A7]
  5734. 00003B4A  486F 0008                pea.l      [A7 + 0x8]
  5735. 00003B4E  2F03                     move.l     -[A7], D3
  5736. 00003B50  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  5737. 00003B54  4EAD F8E0                jsr        [A5 - 0x720]
  5738. 00003B58  206A 0010                movea.l    A0, [A2 + 0x10]
  5739. 00003B5C  2250                     movea.l    A1, [A0]
  5740. 00003B5E  302D 8334                move.w     D0, [A5 - 0x7CCC]
  5741. 00003B62  1F71 0000 0026           move.b     [A7 + 0x26], [A1 + D0.w]
  5742. 00003B68  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  5743. 00003B6C  486F 0018                pea.l      [A7 + 0x18]
  5744. 00003B70  2F03                     move.l     -[A7], D3
  5745. 00003B72  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  5746. 00003B76  4EAD F8D8                jsr        [A5 - 0x728]
  5747. 00003B7A  4FEF 0038                lea.l      A7, [A7 + 0x38]
  5748. 00003B7E  4CDF 0408                movem.l    D3,A2, [A7]+
  5749. 00003B82  4E75                     rts
  5750. 00003B84  48E7 1030                movem.l    -[A7], D3,A2,A3
  5751. 00003B88  4FEF FFD0                lea.l      A7, [A7 - 0x30]
  5752. 00003B8C  4AAD B452                tst.l      [A5 - 0x4BAE]
  5753. 00003B90  6D00 0092                blt        +0x94 /* 00003C24 */
  5754. 00003B94  594F                     subq.w     A7, 4
  5755. 00003B96  206D 1342                movea.l    A0, [A5 + 0x1342 /* export_612 */]
  5756. 00003B9A  4E90                     jsr        [A0]
  5757. 00003B9C  205F                     movea.l    A0, [A7]+
  5758. 00003B9E  2648                     movea.l    A3, A0
  5759. 00003BA0  594F                     subq.w     A7, 4
  5760. 00003BA2  2F0B                     move.l     -[A7], A3
  5761. 00003BA4  A917                     syscall    GetWRefCon
  5762. 00003BA6  201F                     move.l     D0, [A7]+
  5763. 00003BA8  2440                     movea.l    A2, D0
  5764. 00003BAA  486F 0028                pea.l      [A7 + 0x28]
  5765. 00003BAE  A972                     syscall    GetMouse
  5766. 00003BB0  2F2F 0028                move.l     -[A7], [A7 + 0x28]
  5767. 00003BB4  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  5768. 00003BB8  4EAD F918                jsr        [A5 - 0x6E8]
  5769. 00003BBC  2600                     move.l     D3, D0
  5770. 00003BBE  4A83                     tst.l      D3
  5771. 00003BC0  504F                     addq.w     A7, 8
  5772. 00003BC2  6D60                     blt        +0x62 /* 00003C24 */
  5773. 00003BC4  B6AD B452                cmp.l      D3, [A5 - 0x4BAE]
  5774. 00003BC8  675A                     beq        +0x5C /* 00003C24 */
  5775. 00003BCA  7014                     moveq.l    D0, 0x14
  5776. 00003BCC  2F40 002C                move.l     [A7 + 0x2C], D0
  5777. 00003BD0  486F 002C                pea.l      [A7 + 0x2C]
  5778. 00003BD4  486F 0018                pea.l      [A7 + 0x18]
  5779. 00003BD8  2F2D B452                move.l     -[A7], [A5 - 0x4BAE]
  5780. 00003BDC  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  5781. 00003BE0  4EAD F8E0                jsr        [A5 - 0x720]
  5782. 00003BE4  486F 003C                pea.l      [A7 + 0x3C]
  5783. 00003BE8  486F 0014                pea.l      [A7 + 0x14]
  5784. 00003BEC  2F03                     move.l     -[A7], D3
  5785. 00003BEE  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  5786. 00003BF2  4EAD F8E0                jsr        [A5 - 0x720]
  5787. 00003BF6  2F2F 004C                move.l     -[A7], [A7 + 0x4C]
  5788. 00003BFA  486F 0038                pea.l      [A7 + 0x38]
  5789. 00003BFE  2F03                     move.l     -[A7], D3
  5790. 00003C00  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  5791. 00003C04  4EAD F8D8                jsr        [A5 - 0x728]
  5792. 00003C08  2F2F 005C                move.l     -[A7], [A7 + 0x5C]
  5793. 00003C0C  486F 0034                pea.l      [A7 + 0x34]
  5794. 00003C10  2F2D B452                move.l     -[A7], [A5 - 0x4BAE]
  5795. 00003C14  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  5796. 00003C18  4EAD F8D8                jsr        [A5 - 0x728]
  5797. 00003C1C  2B43 B452                move.l     [A5 - 0x4BAE], D3
  5798. 00003C20  4FEF 0040                lea.l      A7, [A7 + 0x40]
  5799. label00003C24:
  5800. 00003C24  4FEF 0030                lea.l      A7, [A7 + 0x30]
  5801. 00003C28  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  5802. 00003C2C  4E75                     rts
  5803. fn00003C2E:
  5804. 00003C2E  48E7 0038                movem.l    -[A7], A2,A3,A4
  5805. 00003C32  286F 0010                movea.l    A4, [A7 + 0x10]
  5806. 00003C36  246F 0014                movea.l    A2, [A7 + 0x14]
  5807. 00003C3A  7000                     moveq.l    D0, 0x00
  5808. 00003C3C  102F 0018                move.b     D0, [A7 + 0x18]
  5809. 00003C40  670A                     beq        +0xC /* 00003C4C */
  5810. 00003C42  5380                     subq.l     D0, 1
  5811. 00003C44  6718                     beq        +0x1A /* 00003C5E */
  5812. 00003C46  5380                     subq.l     D0, 1
  5813. 00003C48  6722                     beq        +0x24 /* 00003C6C */
  5814. 00003C4A  602A                     bra        +0x2C /* 00003C76 */
  5815. label00003C4C:
  5816. 00003C4C  202A 0014                move.l     D0, [A2 + 0x14]
  5817. 00003C50  57C0                     seq        D0
  5818. 00003C52  4400                     neg.b      D0
  5819. 00003C54  4880                     ext.w      D0
  5820. 00003C56  48C0                     ext.l      D0
  5821. 00003C58  2540 0014                move.l     [A2 + 0x14], D0
  5822. 00003C5C  6018                     bra        +0x1A /* 00003C76 */
  5823. label00003C5E:
  5824. 00003C5E  4AAA 0014                tst.l      [A2 + 0x14]
  5825. 00003C62  6652                     bne        +0x54 /* 00003CB6 */
  5826. 00003C64  7001                     moveq.l    D0, 0x01
  5827. 00003C66  2540 0014                move.l     [A2 + 0x14], D0
  5828. 00003C6A  600A                     bra        +0xC /* 00003C76 */
  5829. label00003C6C:
  5830. 00003C6C  4AAA 0014                tst.l      [A2 + 0x14]
  5831. 00003C70  6744                     beq        +0x46 /* 00003CB6 */
  5832. 00003C72  42AA 0014                clr.l      [A2 + 0x14]
  5833. label00003C76:
  5834. 00003C76  266C 00A0                movea.l    A3, [A4 + 0xA0]
  5835. 00003C7A  4AAA 0014                tst.l      [A2 + 0x14]
  5836. 00003C7E  670E                     beq        +0x10 /* 00003C8E */
  5837. 00003C80  2F0B                     move.l     -[A7], A3
  5838. 00003C82  A9D9                     syscall    TEDeactivate
  5839. 00003C84  42A7                     clr.l      -[A7]
  5840. 00003C86  42A7                     clr.l      -[A7]
  5841. 00003C88  2F0B                     move.l     -[A7], A3
  5842. 00003C8A  A9D1                     syscall    TESetSelect
  5843. 00003C8C  601C                     bra        +0x1E /* 00003CAA */
  5844. label00003C8E:
  5845. 00003C8E  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  5846. 00003C92  4EAD F908                jsr        [A5 - 0x6F8]
  5847. 00003C96  4A80                     tst.l      D0
  5848. 00003C98  584F                     addq.w     A7, 4
  5849. 00003C9A  670E                     beq        +0x10 /* 00003CAA */
  5850. 00003C9C  2F0B                     move.l     -[A7], A3
  5851. 00003C9E  A9D8                     syscall    TEActivate
  5852. 00003CA0  2F0A                     move.l     -[A7], A2
  5853. 00003CA2  2F0C                     move.l     -[A7], A4
  5854. 00003CA4  4EBA 0048                jsr        [PC + 0x48 /* 00003CEE */]
  5855. 00003CA8  504F                     addq.w     A7, 8
  5856. label00003CAA:
  5857. 00003CAA  3F3C 0009                move.w     -[A7], 0x9 /* '\t' */
  5858. 00003CAE  2F0C                     move.l     -[A7], A4
  5859. 00003CB0  4EBA F42E                jsr        [PC - 0xBD2 /* 000030E0 */]
  5860. 00003CB4  5C4F                     addq.w     A7, 6
  5861. label00003CB6:
  5862. 00003CB6  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  5863. 00003CBA  4E75                     rts
  5864. fn00003CBC:
  5865. 00003CBC  486D DF50                pea.l      [A5 - 0x20B0]
  5866. 00003CC0  1F2F 0010                move.b     -[A7], [A7 + 0x10]
  5867. 00003CC4  206F 000E                movea.l    A0, [A7 + 0xE]
  5868. 00003CC8  2F28 0004                move.l     -[A7], [A0 + 0x4]
  5869. 00003CCC  4EAD F8F0                jsr        [A5 - 0x710]
  5870. 00003CD0  4A80                     tst.l      D0
  5871. 00003CD2  4FEF 000A                lea.l      A7, [A7 + 0xA]
  5872. 00003CD6  6714                     beq        +0x16 /* 00003CEC */
  5873. 00003CD8  4878 0001                push.l     0x1
  5874. 00003CDC  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  5875. 00003CE0  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  5876. 00003CE4  4EBA F972                jsr        [PC - 0x68E /* 00003658 */]
  5877. 00003CE8  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5878. label00003CEC:
  5879. 00003CEC  4E75                     rts
  5880. fn00003CEE:
  5881. 00003CEE  4AAF 0008                tst.l      [A7 + 0x8]
  5882. 00003CF2  670A                     beq        +0xC /* 00003CFE */
  5883. 00003CF4  206F 0008                movea.l    A0, [A7 + 0x8]
  5884. 00003CF8  4AA8 0014                tst.l      [A0 + 0x14]
  5885. 00003CFC  660E                     bne        +0x10 /* 00003D0C */
  5886. label00003CFE:
  5887. 00003CFE  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  5888. 00003D02  4878 0004                push.l     0x4
  5889. 00003D06  3F3C 7FFF                move.w     -[A7], 0x7FFF
  5890. 00003D0A  A97E                     syscall    SelectDialogItemText/SelIText
  5891. label00003D0C:
  5892. 00003D0C  4E75                     rts
  5893. fn00003D0E:
  5894. 00003D0E  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  5895. 00003D12  7600                     moveq.l    D3, 0x00
  5896. 00003D14  594F                     subq.w     A7, 4
  5897. 00003D16  2F3C 444C 4F47           move.l     -[A7], 0x444C4F47 /* 'DLOG' */
  5898. 00003D1C  3F2F 0024                move.w     -[A7], [A7 + 0x24]
  5899. 00003D20  A9A0                     syscall    GetResource
  5900. 00003D22  205F                     movea.l    A0, [A7]+
  5901. 00003D24  2648                     movea.l    A3, A0
  5902. 00003D26  2008                     move.l     D0, A0
  5903. 00003D28  673C                     beq        +0x3E /* 00003D66 */
  5904. 00003D2A  594F                     subq.w     A7, 4
  5905. 00003D2C  2F0B                     move.l     -[A7], A3
  5906. 00003D2E  4EAD D9AC                jsr        [A5 - 0x2654]
  5907. 00003D32  201F                     move.l     D0, [A7]+
  5908. 00003D34  2A00                     move.l     D5, D0
  5909. 00003D36  2453                     movea.l    A2, [A3]
  5910. 00003D38  102A 0014                move.b     D0, [A2 + 0x14]
  5911. 00003D3C  7201                     moveq.l    D1, 0x01
  5912. 00003D3E  C081                     and.l      D0, D1
  5913. 00003D40  57C0                     seq        D0
  5914. 00003D42  4400                     neg.b      D0
  5915. 00003D44  4880                     ext.w      D0
  5916. 00003D46  48C0                     ext.l      D0
  5917. 00003D48  7200                     moveq.l    D1, 0x00
  5918. 00003D4A  122A 0014                move.b     D1, [A2 + 0x14]
  5919. 00003D4E  5281                     addq.l     D1, 1
  5920. 00003D50  7414                     moveq.l    D2, 0x14
  5921. 00003D52  D282                     add.l      D1, D2
  5922. 00003D54  D280                     add.l      D1, D0
  5923. 00003D56  2801                     move.l     D4, D1
  5924. 00003D58  BA84                     cmp.l      D5, D4
  5925. 00003D5A  670A                     beq        +0xC /* 00003D66 */
  5926. 00003D5C  0C32 0030 4800           cmpi.b     [A2 + D4], 0x30 /* '0' */
  5927. 00003D62  6602                     bne        +0x4 /* 00003D66 */
  5928. 00003D64  7601                     moveq.l    D3, 0x01
  5929. label00003D66:
  5930. 00003D66  2F03                     move.l     -[A7], D3
  5931. 00003D68  2F2F 001C                move.l     -[A7], [A7 + 0x1C]
  5932. 00003D6C  4EAD E798                jsr        [A5 - 0x1868]
  5933. 00003D70  504F                     addq.w     A7, 8
  5934. 00003D72  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  5935. 00003D76  4E75                     rts
  5936. fn00003D78:
  5937. 00003D78  4AAF 0008                tst.l      [A7 + 0x8]
  5938. 00003D7C  6736                     beq        +0x38 /* 00003DB4 */
  5939. 00003D7E  486D DF40                pea.l      [A5 - 0x20C0]
  5940. 00003D82  3F3C 0005                move.w     -[A7], 0x5
  5941. 00003D86  2F2F 000A                move.l     -[A7], [A7 + 0xA]
  5942. 00003D8A  4EBA D916                jsr        [PC - 0x26EA /* 000016A2 */]
  5943. 00003D8E  302D 135E                move.w     D0, [A5 + 0x135E]
  5944. 00003D92  48C0                     ext.l      D0
  5945. 00003D94  0680 0000 0080           addi.l     D0, 0x80
  5946. 00003D9A  3F00                     move.w     -[A7], D0
  5947. 00003D9C  A9BF                     syscall    GetRMenu
  5948. 00003D9E  205F                     movea.l    A0, [A7]+
  5949. 00003DA0  2B48 8336                move.l     [A5 - 0x7CCA], A0
  5950. 00003DA4  3B7C 0001 8334           move.w     [A5 - 0x7CCC], 0x1
  5951. 00003DAA  7001                     moveq.l    D0, 0x01
  5952. 00003DAC  2B40 8330                move.l     [A5 - 0x7CD0], D0
  5953. 00003DB0  5C4F                     addq.w     A7, 6
  5954. 00003DB2  600A                     bra        +0xC /* 00003DBE */
  5955. label00003DB4:
  5956. 00003DB4  2F2D 8336                move.l     -[A7], [A5 - 0x7CCA]
  5957. 00003DB8  A9A3                     syscall    ReleaseResource
  5958. 00003DBA  42AD 8336                clr.l      [A5 - 0x7CCA]
  5959. label00003DBE:
  5960. 00003DBE  4E75                     rts
  5961. 00003DC0  3F3C 0007                move.w     -[A7], 0x7
  5962. 00003DC4  3F2D 8332                move.w     -[A7], [A5 - 0x7CCE]
  5963. 00003DC8  3F2D 8334                move.w     -[A7], [A5 - 0x7CCC]
  5964. 00003DCC  2F2D 8336                move.l     -[A7], [A5 - 0x7CCA]
  5965. 00003DD0  3F2F 000E                move.w     -[A7], [A7 + 0xE]
  5966. 00003DD4  2F2F 0012                move.l     -[A7], [A7 + 0x12]
  5967. 00003DD8  4EBA EFC0                jsr        [PC - 0x1040 /* 00002D9A */]
  5968. 00003DDC  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5969. 00003DE0  205F                     movea.l    A0, [A7]+
  5970. 00003DE2  5C4F                     addq.w     A7, 6
  5971. 00003DE4  4ED0                     jmp        [A0]
  5972. 00003DE6  2F0A                     move.l     -[A7], A2
  5973. 00003DE8  246F 0008                movea.l    A2, [A7 + 0x8]
  5974. 00003DEC  3F2A 000E                move.w     -[A7], [A2 + 0xE]
  5975. 00003DF0  302F 0014                move.w     D0, [A7 + 0x14]
  5976. 00003DF4  48C0                     ext.l      D0
  5977. 00003DF6  7202                     moveq.l    D1, 0x02
  5978. 00003DF8  B081                     cmp.l      D0, D1
  5979. 00003DFA  5EC0                     sgt        D0
  5980. 00003DFC  4400                     neg.b      D0
  5981. 00003DFE  4880                     ext.w      D0
  5982. 00003E00  48C0                     ext.l      D0
  5983. 00003E02  3F00                     move.w     -[A7], D0
  5984. 00003E04  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  5985. 00003E08  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  5986. 00003E0C  3F2A 000A                move.w     -[A7], [A2 + 0xA]
  5987. 00003E10  3F2A 000C                move.w     -[A7], [A2 + 0xC]
  5988. 00003E14  2F12                     move.l     -[A7], [A2]
  5989. 00003E16  4EAD F6D0                jsr        [A5 - 0x930]
  5990. 00003E1A  4FEF 0014                lea.l      A7, [A7 + 0x14]
  5991. 00003E1E  245F                     movea.l    A2, [A7]+
  5992. 00003E20  205F                     movea.l    A0, [A7]+
  5993. 00003E22  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5994. 00003E26  4ED0                     jmp        [A0]
  5995. fn00003E28:
  5996. 00003E28  554F                     subq.w     A7, 2
  5997. 00003E2A  2F3C 0005 0006           move.l     -[A7], 0x50006
  5998. 00003E30  3F2D 8334                move.w     -[A7], [A5 - 0x7CCC]
  5999. 00003E34  2F2D 8336                move.l     -[A7], [A5 - 0x7CCA]
  6000. 00003E38  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  6001. 00003E3C  4EBA EFC2                jsr        [PC - 0x103E /* 00002E00 */]
  6002. 00003E40  3F40 000E                move.w     [A7 + 0xE], D0
  6003. 00003E44  4FEF 000E                lea.l      A7, [A7 + 0xE]
  6004. 00003E48  6704                     beq        +0x6 /* 00003E4E */
  6005. 00003E4A  3B40 8334                move.w     [A5 - 0x7CCC], D0
  6006. label00003E4E:
  6007. 00003E4E  544F                     addq.w     A7, 2
  6008. 00003E50  4E75                     rts
  6009. fn00003E52:
  6010. 00003E52  2F0A                     move.l     -[A7], A2
  6011. 00003E54  514F                     subq.w     A7, 8
  6012. 00003E56  4AAD B45A                tst.l      [A5 - 0x4BA6]
  6013. 00003E5A  6C2E                     bge        +0x30 /* 00003E8A */
  6014. 00003E5C  554F                     subq.w     A7, 2
  6015. 00003E5E  2F3C 6469 746C           move.l     -[A7], 0x6469746C /* 'ditl' */
  6016. 00003E64  486F 000A                pea.l      [A7 + 0xA]
  6017. 00003E68  4EAD DA66                jsr        [A5 - 0x259A]
  6018. 00003E6C  301F                     move.w     D0, [A7]+
  6019. 00003E6E  6610                     bne        +0x12 /* 00003E80 */
  6020. 00003E70  554F                     subq.w     A7, 2
  6021. 00003E72  486F 0006                pea.l      [A7 + 0x6]
  6022. 00003E76  4878 001F                push.l     0x1F
  6023. 00003E7A  A85D                     syscall    BitTst
  6024. 00003E7C  101F                     move.b     D0, [A7]+
  6025. 00003E7E  6604                     bne        +0x6 /* 00003E84 */
  6026. label00003E80:
  6027. 00003E80  7000                     moveq.l    D0, 0x00
  6028. 00003E82  6002                     bra        +0x4 /* 00003E86 */
  6029. label00003E84:
  6030. 00003E84  7001                     moveq.l    D0, 0x01
  6031. label00003E86:
  6032. 00003E86  2B40 B45A                move.l     [A5 - 0x4BA6], D0
  6033. label00003E8A:
  6034. 00003E8A  4AAD B45A                tst.l      [A5 - 0x4BA6]
  6035. 00003E8E  6706                     beq        +0x8 /* 00003E96 */
  6036. 00003E90  4AAD 132A                tst.l      [A5 + 0x132A /* export_609 */]
  6037. 00003E94  673A                     beq        +0x3C /* 00003ED0 */
  6038. label00003E96:
  6039. 00003E96  594F                     subq.w     A7, 4
  6040. 00003E98  2F3C 444C 4F47           move.l     -[A7], 0x444C4F47 /* 'DLOG' */
  6041. 00003E9E  3F2F 0018                move.w     -[A7], [A7 + 0x18]
  6042. 00003EA2  A9A0                     syscall    GetResource
  6043. 00003EA4  205F                     movea.l    A0, [A7]+
  6044. 00003EA6  2E88                     move.l     [A7], A0
  6045. 00003EA8  2008                     move.l     D0, A0
  6046. 00003EAA  6724                     beq        +0x26 /* 00003ED0 */
  6047. 00003EAC  2450                     movea.l    A2, [A0]
  6048. 00003EAE  4AAD B45A                tst.l      [A5 - 0x4BA6]
  6049. 00003EB2  660E                     bne        +0x10 /* 00003EC2 */
  6050. 00003EB4  0C6A 0005 0008           cmpi.w     [A2 + 0x8], 0x5
  6051. 00003EBA  6606                     bne        +0x8 /* 00003EC2 */
  6052. 00003EBC  357C 0004 0008           move.w     [A2 + 0x8], 0x4
  6053. label00003EC2:
  6054. 00003EC2  4AAD 132A                tst.l      [A5 + 0x132A /* export_609 */]
  6055. 00003EC6  6708                     beq        +0xA /* 00003ED0 */
  6056. 00003EC8  257C 746D 5445 000E      move.l     [A2 + 0xE], 0x746D5445 /* 'tmTE' */
  6057. label00003ED0:
  6058. 00003ED0  504F                     addq.w     A7, 8
  6059. 00003ED2  245F                     movea.l    A2, [A7]+
  6060. 00003ED4  4E75                     rts
  6061. fn00003ED6:
  6062. 00003ED6  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  6063. 00003EDA  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  6064. 00003EDE  266F 0028                movea.l    A3, [A7 + 0x28]
  6065. 00003EE2  246F 002C                movea.l    A2, [A7 + 0x2C]
  6066. 00003EE6  282F 0030                move.l     D4, [A7 + 0x30]
  6067. 00003EEA  2F6D 81CC 0004           move.l     [A7 + 0x4], [A5 - 0x7E34]
  6068. 00003EF0  2F6D 81D0 0008           move.l     [A7 + 0x8], [A5 - 0x7E30]
  6069. 00003EF6  2F6D 81D4 000C           move.l     [A7 + 0xC], [A5 - 0x7E2C]
  6070. 00003EFC  2604                     move.l     D3, D4
  6071. 00003EFE  7A00                     moveq.l    D5, 0x00
  6072. 00003F00  200A                     move.l     D0, A2
  6073. 00003F02  6712                     beq        +0x14 /* 00003F16 */
  6074. 00003F04  4AAA 0004                tst.l      [A2 + 0x4]
  6075. 00003F08  670C                     beq        +0xE /* 00003F16 */
  6076. 00003F0A  2F04                     move.l     -[A7], D4
  6077. 00003F0C  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  6078. 00003F10  4EAD F8C0                jsr        [A5 - 0x740]
  6079. 00003F14  504F                     addq.w     A7, 8
  6080. label00003F16:
  6081. 00003F16  200A                     move.l     D0, A2
  6082. 00003F18  6714                     beq        +0x16 /* 00003F2E */
  6083. 00003F1A  4AAA 0014                tst.l      [A2 + 0x14]
  6084. 00003F1E  670E                     beq        +0x10 /* 00003F2E */
  6085. 00003F20  3F3C 0009                move.w     -[A7], 0x9 /* '\t' */
  6086. 00003F24  2F0B                     move.l     -[A7], A3
  6087. 00003F26  4EBA F1B8                jsr        [PC - 0xE48 /* 000030E0 */]
  6088. 00003F2A  7600                     moveq.l    D3, 0x00
  6089. 00003F2C  5C4F                     addq.w     A7, 6
  6090. label00003F2E:
  6091. 00003F2E  4A84                     tst.l      D4
  6092. 00003F30  6728                     beq        +0x2A /* 00003F5A */
  6093. 00003F32  200A                     move.l     D0, A2
  6094. 00003F34  6724                     beq        +0x26 /* 00003F5A */
  6095. 00003F36  4AAA 0004                tst.l      [A2 + 0x4]
  6096. 00003F3A  671E                     beq        +0x20 /* 00003F5A */
  6097. 00003F3C  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  6098. 00003F40  4EAD F908                jsr        [A5 - 0x6F8]
  6099. 00003F44  4A80                     tst.l      D0
  6100. 00003F46  584F                     addq.w     A7, 4
  6101. 00003F48  6610                     bne        +0x12 /* 00003F5A */
  6102. 00003F4A  7600                     moveq.l    D3, 0x00
  6103. 00003F4C  2F6A 0008 0008           move.l     [A7 + 0x8], [A2 + 0x8]
  6104. 00003F52  2F6A 000C 000C           move.l     [A7 + 0xC], [A2 + 0xC]
  6105. 00003F58  7A01                     moveq.l    D5, 0x01
  6106. label00003F5A:
  6107. 00003F5A  200A                     move.l     D0, A2
  6108. 00003F5C  6706                     beq        +0x8 /* 00003F64 */
  6109. 00003F5E  4AAA 0004                tst.l      [A2 + 0x4]
  6110. 00003F62  6604                     bne        +0x6 /* 00003F68 */
  6111. label00003F64:
  6112. 00003F64  91C8                     sub.l      A0, A0
  6113. 00003F66  600C                     bra        +0xE /* 00003F74 */
  6114. label00003F68:
  6115. 00003F68  2E80                     move.l     [A7], D0
  6116. 00003F6A  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  6117. 00003F6E  4EAD F920                jsr        [A5 - 0x6E0]
  6118. 00003F72  584F                     addq.w     A7, 4
  6119. label00003F74:
  6120. 00003F74  2F48 0004                move.l     [A7 + 0x4], A0
  6121. 00003F78  3F3C 0003                move.w     -[A7], 0x3
  6122. 00003F7C  486F 0006                pea.l      [A7 + 0x6]
  6123. 00003F80  3F03                     move.w     -[A7], D3
  6124. 00003F82  3F04                     move.w     -[A7], D4
  6125. 00003F84  2F0B                     move.l     -[A7], A3
  6126. 00003F86  4EBA E0F2                jsr        [PC - 0x1F0E /* 0000207A */]
  6127. 00003F8A  4A84                     tst.l      D4
  6128. 00003F8C  4FEF 000E                lea.l      A7, [A7 + 0xE]
  6129. 00003F90  6704                     beq        +0x6 /* 00003F96 */
  6130. 00003F92  4A85                     tst.l      D5
  6131. 00003F94  6704                     beq        +0x6 /* 00003F9A */
  6132. label00003F96:
  6133. 00003F96  7000                     moveq.l    D0, 0x00
  6134. 00003F98  6002                     bra        +0x4 /* 00003F9C */
  6135. label00003F9A:
  6136. 00003F9A  7001                     moveq.l    D0, 0x01
  6137. label00003F9C:
  6138. 00003F9C  2B40 8330                move.l     [A5 - 0x7CD0], D0
  6139. 00003FA0  1F3C 0004                move.b     -[A7], 0x4
  6140. 00003FA4  3F3C 0005                move.w     -[A7], 0x5
  6141. 00003FA8  42A7                     clr.l      -[A7]
  6142. 00003FAA  2F0B                     move.l     -[A7], A3
  6143. 00003FAC  4EBA EF2A                jsr        [PC - 0x10D6 /* 00002ED8 */]
  6144. 00003FB0  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  6145. 00003FB4  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  6146. 00003FB8  4E75                     rts
  6147. 00003FBA  4FEF FFE4                lea.l      A7, [A7 - 0x1C]
  6148. 00003FBE  7014                     moveq.l    D0, 0x14
  6149. 00003FC0  2F40 0004                move.l     [A7 + 0x4], D0
  6150. 00003FC4  486F 0004                pea.l      [A7 + 0x4]
  6151. 00003FC8  486F 000C                pea.l      [A7 + 0xC]
  6152. 00003FCC  2F2F 002C                move.l     -[A7], [A7 + 0x2C]
  6153. 00003FD0  2F2F 002C                move.l     -[A7], [A7 + 0x2C]
  6154. 00003FD4  4EAD F8E0                jsr        [A5 - 0x720]
  6155. 00003FD8  4AAF 0018                tst.l      [A7 + 0x18]
  6156. 00003FDC  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6157. 00003FE0  6748                     beq        +0x4A /* 0000402A */
  6158. 00003FE2  206F 0008                movea.l    A0, [A7 + 0x8]
  6159. 00003FE6  2050                     movea.l    A0, [A0]
  6160. 00003FE8  70FF                     moveq.l    D0, 0xFFFFFFFF
  6161. label00003FEA:
  6162. 00003FEA  5280                     addq.l     D0, 1
  6163. 00003FEC  4A18                     tst.b      [A0]+
  6164. 00003FEE  66FA                     bne        -0x4 /* 00003FEA */
  6165. 00003FF0  B0AF 002C                cmp.l      D0, [A7 + 0x2C]
  6166. 00003FF4  6534                     bcs        +0x36 /* 0000402A */
  6167. 00003FF6  206F 0008                movea.l    A0, [A7 + 0x8]
  6168. 00003FFA  A029                     syscall    HLock
  6169. 00003FFC  2F2F 002C                move.l     -[A7], [A7 + 0x2C]
  6170. 00004000  2F2F 002C                move.l     -[A7], [A7 + 0x2C]
  6171. 00004004  206F 0010                movea.l    A0, [A7 + 0x10]
  6172. 00004008  2F10                     move.l     -[A7], [A0]
  6173. 0000400A  4EAD E460                jsr        [A5 - 0x1BA0]
  6174. 0000400E  2F40 000C                move.l     [A7 + 0xC], D0
  6175. 00004012  206F 0014                movea.l    A0, [A7 + 0x14]
  6176. 00004016  A02A                     syscall    HUnlock
  6177. 00004018  4AAF 000C                tst.l      [A7 + 0xC]
  6178. 0000401C  57C0                     seq        D0
  6179. 0000401E  4400                     neg.b      D0
  6180. 00004020  4880                     ext.w      D0
  6181. 00004022  48C0                     ext.l      D0
  6182. 00004024  4FEF 0028                lea.l      A7, [A7 + 0x28]
  6183. 00004028  4E75                     rts
  6184. label0000402A:
  6185. 0000402A  7000                     moveq.l    D0, 0x00
  6186. 0000402C  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  6187. 00004030  4E75                     rts
  6188. fn00004032:
  6189. 00004032  48E7 103A                movem.l    -[A7], D3,A2,A3,A4,A6
  6190. 00004036  2C6F 0018                movea.l    A6, [A7 + 0x18]
  6191. 0000403A  286F 001C                movea.l    A4, [A7 + 0x1C]
  6192. 0000403E  266F 0020                movea.l    A3, [A7 + 0x20]
  6193. 00004042  45ED 82E0                lea.l      A2, [A5 - 0x7D20]
  6194. 00004046  200B                     move.l     D0, A3
  6195. 00004048  6702                     beq        +0x4 /* 0000404C */
  6196. 0000404A  4293                     clr.l      [A3]
  6197. label0000404C:
  6198. 0000404C  7600                     moveq.l    D3, 0x00
  6199. 0000404E  602C                     bra        +0x2E /* 0000407C */
  6200. label00004050:
  6201. 00004050  BDEA 0008                cmpa.l     A6, [A2 + 0x8]
  6202. 00004054  6620                     bne        +0x22 /* 00004076 */
  6203. 00004056  200B                     move.l     D0, A3
  6204. 00004058  6704                     beq        +0x6 /* 0000405E */
  6205. 0000405A  26AA 000C                move.l     [A3], [A2 + 0xC]
  6206. label0000405E:
  6207. 0000405E  4A92                     tst.l      [A2]
  6208. 00004060  6720                     beq        +0x22 /* 00004082 */
  6209. 00004062  200C                     move.l     D0, A4
  6210. 00004064  6708                     beq        +0xA /* 0000406E */
  6211. 00004066  2F0E                     move.l     -[A7], A6
  6212. 00004068  2F0C                     move.l     -[A7], A4
  6213. 0000406A  2052                     movea.l    A0, [A2]
  6214. 0000406C  4E90                     jsr        [A0]
  6215. label0000406E:
  6216. 0000406E  7001                     moveq.l    D0, 0x01
  6217. 00004070  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  6218. 00004074  4E75                     rts
  6219. label00004076:
  6220. 00004076  5283                     addq.l     D3, 1
  6221. 00004078  7010                     moveq.l    D0, 0x10
  6222. 0000407A  D5C0                     add.l      A2, D0
  6223. label0000407C:
  6224. 0000407C  B6AD B456                cmp.l      D3, [A5 - 0x4BAA]
  6225. 00004080  6FCE                     ble        -0x30 /* 00004050 */
  6226. label00004082:
  6227. 00004082  7000                     moveq.l    D0, 0x00
  6228. 00004084  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  6229. 00004088  4E75                     rts
  6230. fn0000408A:
  6231. 0000408A  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  6232. 0000408E  286F 0014                movea.l    A4, [A7 + 0x14]
  6233. 00004092  362F 0018                move.w     D3, [A7 + 0x18]
  6234. 00004096  3F03                     move.w     -[A7], D3
  6235. 00004098  2F0C                     move.l     -[A7], A4
  6236. 0000409A  4EBA D5E2                jsr        [PC - 0x2A1E /* 0000167E */]
  6237. 0000409E  2648                     movea.l    A3, A0
  6238. 000040A0  2008                     move.l     D0, A0
  6239. 000040A2  5C4F                     addq.w     A7, 6
  6240. 000040A4  6726                     beq        +0x28 /* 000040CC */
  6241. 000040A6  2453                     movea.l    A2, [A3]
  6242. 000040A8  4A2A 0011                tst.b      [A2 + 0x11]
  6243. 000040AC  661E                     bne        +0x20 /* 000040CC */
  6244. 000040AE  4A2A 0010                tst.b      [A2 + 0x10]
  6245. 000040B2  6718                     beq        +0x1A /* 000040CC */
  6246. 000040B4  3F03                     move.w     -[A7], D3
  6247. 000040B6  2F0C                     move.l     -[A7], A4
  6248. 000040B8  4EBA D670                jsr        [PC - 0x2990 /* 0000172A */]
  6249. 000040BC  3F03                     move.w     -[A7], D3
  6250. 000040BE  4EBA 0732                jsr        [PC + 0x732 /* 000047F2 */]
  6251. 000040C2  7001                     moveq.l    D0, 0x01
  6252. 000040C4  5C4F                     addq.w     A7, 6
  6253. 000040C6  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  6254. 000040CA  4E75                     rts
  6255. label000040CC:
  6256. 000040CC  7000                     moveq.l    D0, 0x00
  6257. 000040CE  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  6258. 000040D2  4E75                     rts
  6259. 000040D4  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  6260. 000040D8  A9C8                     syscall    SysBeep
  6261. 000040DA  2E9F                     move.l     [A7], [A7]+
  6262. 000040DC  4E75                     rts
  6263. fn000040DE:
  6264. 000040DE  48E7 1C3A                movem.l    -[A7], D3,D4,D5,A2,A3,A4,A6
  6265. 000040E2  362F 0020                move.w     D3, [A7 + 0x20]
  6266. 000040E6  2C6F 0022                movea.l    A6, [A7 + 0x22]
  6267. 000040EA  266F 002E                movea.l    A3, [A7 + 0x2E]
  6268. 000040EE  2A2F 0036                move.l     D5, [A7 + 0x36]
  6269. 000040F2  7800                     moveq.l    D4, 0x00
  6270. 000040F4  3003                     move.w     D0, D3
  6271. 000040F6  48C0                     ext.l      D0
  6272. 000040F8  322D 135E                move.w     D1, [A5 + 0x135E]
  6273. 000040FC  48C1                     ext.l      D1
  6274. 000040FE  0681 0000 008E           addi.l     D1, 0x8E
  6275. 00004104  B280                     cmp.l      D1, D0
  6276. 00004106  673C                     beq        +0x3E /* 00004144 */
  6277. 00004108  3003                     move.w     D0, D3
  6278. 0000410A  48C0                     ext.l      D0
  6279. 0000410C  322D 135E                move.w     D1, [A5 + 0x135E]
  6280. 00004110  48C1                     ext.l      D1
  6281. 00004112  0681 0000 008D           addi.l     D1, 0x8D
  6282. 00004118  B280                     cmp.l      D1, D0
  6283. 0000411A  6728                     beq        +0x2A /* 00004144 */
  6284. 0000411C  3003                     move.w     D0, D3
  6285. 0000411E  48C0                     ext.l      D0
  6286. 00004120  322D 135E                move.w     D1, [A5 + 0x135E]
  6287. 00004124  48C1                     ext.l      D1
  6288. 00004126  0681 0000 0095           addi.l     D1, 0x95
  6289. 0000412C  B280                     cmp.l      D1, D0
  6290. 0000412E  6714                     beq        +0x16 /* 00004144 */
  6291. 00004130  3003                     move.w     D0, D3
  6292. 00004132  48C0                     ext.l      D0
  6293. 00004134  322D 135E                move.w     D1, [A5 + 0x135E]
  6294. 00004138  48C1                     ext.l      D1
  6295. 0000413A  0681 0000 008F           addi.l     D1, 0x8F
  6296. 00004140  B280                     cmp.l      D1, D0
  6297. 00004142  6622                     bne        +0x24 /* 00004166 */
  6298. label00004144:
  6299. 00004144  7801                     moveq.l    D4, 0x01
  6300. 00004146  302D 135E                move.w     D0, [A5 + 0x135E]
  6301. 0000414A  48C0                     ext.l      D0
  6302. 0000414C  0680 0000 008C           addi.l     D0, 0x8C
  6303. 00004152  3F00                     move.w     -[A7], D0
  6304. 00004154  4EAD DB62                jsr        [A5 - 0x249E]
  6305. 00004158  4A80                     tst.l      D0
  6306. 0000415A  544F                     addq.w     A7, 2
  6307. 0000415C  6608                     bne        +0xA /* 00004166 */
  6308. 0000415E  7000                     moveq.l    D0, 0x00
  6309. 00004160  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  6310. 00004164  4E75                     rts
  6311. label00004166:
  6312. 00004166  3F03                     move.w     -[A7], D3
  6313. 00004168  4EBA FCE8                jsr        [PC - 0x318 /* 00003E52 */]
  6314. 0000416C  594F                     subq.w     A7, 4
  6315. 0000416E  3F03                     move.w     -[A7], D3
  6316. 00004170  42A7                     clr.l      -[A7]
  6317. 00004172  4878 FFFF                push.l     0xFFFF
  6318. 00004176  206D 135A                movea.l    A0, [A5 + 0x135A /* export_615 */]
  6319. 0000417A  4E90                     jsr        [A0]
  6320. 0000417C  205F                     movea.l    A0, [A7]+
  6321. 0000417E  2448                     movea.l    A2, A0
  6322. 00004180  2008                     move.l     D0, A0
  6323. 00004182  544F                     addq.w     A7, 2
  6324. 00004184  6608                     bne        +0xA /* 0000418E */
  6325. 00004186  7000                     moveq.l    D0, 0x00
  6326. 00004188  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  6327. 0000418C  4E75                     rts
  6328. label0000418E:
  6329. 0000418E  4A85                     tst.l      D5
  6330. 00004190  6708                     beq        +0xA /* 0000419A */
  6331. 00004192  2F0A                     move.l     -[A7], A2
  6332. 00004194  4EBA 00A4                jsr        [PC + 0xA4 /* 0000423A */]
  6333. 00004198  584F                     addq.w     A7, 4
  6334. label0000419A:
  6335. 0000419A  2F0A                     move.l     -[A7], A2
  6336. 0000419C  2F2F 002E                move.l     -[A7], [A7 + 0x2E]
  6337. 000041A0  A918                     syscall    SetWRefCon
  6338. 000041A2  52AD B456                addq.l     [A5 - 0x4BAA], 1
  6339. 000041A6  202D B456                move.l     D0, [A5 - 0x4BAA]
  6340. 000041AA  E988                     lsl        D0, 4
  6341. 000041AC  41ED 82E0                lea.l      A0, [A5 - 0x7D20]
  6342. 000041B0  21AF 0026 0800           move.l     [A0 + D0], [A7 + 0x26]
  6343. 000041B6  202D B456                move.l     D0, [A5 - 0x4BAA]
  6344. 000041BA  E988                     lsl        D0, 4
  6345. 000041BC  2848                     movea.l    A4, A0
  6346. 000041BE  D9C0                     add.l      A4, D0
  6347. 000041C0  42AC 0004                clr.l      [A4 + 0x4]
  6348. 000041C4  294A 0008                move.l     [A4 + 0x8], A2
  6349. 000041C8  202D B456                move.l     D0, [A5 - 0x4BAA]
  6350. 000041CC  E988                     lsl        D0, 4
  6351. 000041CE  2185 080C                move.l     [A0 + D0 + 0xC], D5
  6352. 000041D2  200E                     move.l     D0, A6
  6353. 000041D4  6704                     beq        +0x6 /* 000041DA */
  6354. 000041D6  2F0A                     move.l     -[A7], A2
  6355. 000041D8  4E96                     jsr        [A6]
  6356. label000041DA:
  6357. 000041DA  3F03                     move.w     -[A7], D3
  6358. 000041DC  2F0B                     move.l     -[A7], A3
  6359. 000041DE  42A7                     clr.l      -[A7]
  6360. 000041E0  2F0A                     move.l     -[A7], A2
  6361. 000041E2  4EBA F0AA                jsr        [PC - 0xF56 /* 0000328E */]
  6362. 000041E6  4EBA 083E                jsr        [PC + 0x83E /* 00004A26 */]
  6363. 000041EA  3600                     move.w     D3, D0
  6364. 000041EC  53AD B456                subq.l     [A5 - 0x4BAA], 1
  6365. 000041F0  200B                     move.l     D0, A3
  6366. 000041F2  4FEF 000E                lea.l      A7, [A7 + 0xE]
  6367. 000041F6  6714                     beq        +0x16 /* 0000420C */
  6368. 000041F8  2F0A                     move.l     -[A7], A2
  6369. 000041FA  4EBA CF52                jsr        [PC - 0x30AE /* 0000114E */]
  6370. 000041FE  26AA 0010                move.l     [A3], [A2 + 0x10]
  6371. 00004202  2F0B                     move.l     -[A7], A3
  6372. 00004204  A870                     syscall    LocalToGlobal
  6373. 00004206  4EBA CF68                jsr        [PC - 0x3098 /* 00001170 */]
  6374. 0000420A  584F                     addq.w     A7, 4
  6375. label0000420C:
  6376. 0000420C  4AAF 0032                tst.l      [A7 + 0x32]
  6377. 00004210  6708                     beq        +0xA /* 0000421A */
  6378. 00004212  2F0A                     move.l     -[A7], A2
  6379. 00004214  206D 134E                movea.l    A0, [A5 + 0x134E]
  6380. 00004218  4E90                     jsr        [A0]
  6381. label0000421A:
  6382. 0000421A  4A84                     tst.l      D4
  6383. 0000421C  6714                     beq        +0x16 /* 00004232 */
  6384. 0000421E  302D 135E                move.w     D0, [A5 + 0x135E]
  6385. 00004222  48C0                     ext.l      D0
  6386. 00004224  0680 0000 008C           addi.l     D0, 0x8C
  6387. 0000422A  3F00                     move.w     -[A7], D0
  6388. 0000422C  4EAD DB68                jsr        [A5 - 0x2498]
  6389. 00004230  544F                     addq.w     A7, 2
  6390. label00004232:
  6391. 00004232  3003                     move.w     D0, D3
  6392. 00004234  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  6393. 00004238  4E75                     rts
  6394. fn0000423A:
  6395. 0000423A  594F                     subq.w     A7, 4
  6396. 0000423C  4EBA 0030                jsr        [PC + 0x30 /* 0000426E */]
  6397. 00004240  4A80                     tst.l      D0
  6398. 00004242  6726                     beq        +0x28 /* 0000426A */
  6399. 00004244  594F                     subq.w     A7, 4
  6400. 00004246  2F3C 4443 5442           move.l     -[A7], 0x44435442 /* 'DCTB' */
  6401. 0000424C  302D 135E                move.w     D0, [A5 + 0x135E]
  6402. 00004250  48C0                     ext.l      D0
  6403. 00004252  0680 0000 0080           addi.l     D0, 0x80
  6404. 00004258  3F00                     move.w     -[A7], D0
  6405. 0000425A  A9A0                     syscall    GetResource
  6406. 0000425C  205F                     movea.l    A0, [A7]+
  6407. 0000425E  2E88                     move.l     [A7], A0
  6408. 00004260  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  6409. 00004264  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  6410. 00004268  AA41                     syscall    SetWinColor
  6411. label0000426A:
  6412. 0000426A  584F                     addq.w     A7, 4
  6413. 0000426C  4E75                     rts
  6414. fn0000426E:
  6415. 0000426E  7000                     moveq.l    D0, 0x00
  6416. 00004270  102D 81A0                move.b     D0, [A5 - 0x7E60]
  6417. 00004274  7202                     moveq.l    D1, 0x02
  6418. 00004276  B081                     cmp.l      D0, D1
  6419. 00004278  6C04                     bge        +0x6 /* 0000427E */
  6420. 0000427A  7000                     moveq.l    D0, 0x00
  6421. 0000427C  4E75                     rts
  6422. label0000427E:
  6423. 0000427E  4A2D 81CA                tst.b      [A5 - 0x7E36]
  6424. 00004282  661E                     bne        +0x20 /* 000042A2 */
  6425. 00004284  594F                     subq.w     A7, 4
  6426. 00004286  2F3C 4E4F 3344           move.l     -[A7], 0x4E4F3344 /* 'NO3D' */
  6427. 0000428C  3F3C 0001                move.w     -[A7], 0x1
  6428. 00004290  A99D                     syscall    GetIndResource
  6429. 00004292  205F                     movea.l    A0, [A7]+
  6430. 00004294  2008                     move.l     D0, A0
  6431. 00004296  6604                     bne        +0x6 /* 0000429C */
  6432. 00004298  7002                     moveq.l    D0, 0x02
  6433. 0000429A  6002                     bra        +0x4 /* 0000429E */
  6434. label0000429C:
  6435. 0000429C  7001                     moveq.l    D0, 0x01
  6436. label0000429E:
  6437. 0000429E  1B40 81CA                move.b     [A5 - 0x7E36], D0
  6438. label000042A2:
  6439. 000042A2  0C2D 0002 81CA           cmpi.b     [A5 - 0x7E36], 0x2
  6440. 000042A8  57C0                     seq        D0
  6441. 000042AA  4400                     neg.b      D0
  6442. 000042AC  4880                     ext.w      D0
  6443. 000042AE  48C0                     ext.l      D0
  6444. 000042B0  4E75                     rts
  6445. 000042B2  2F03                     move.l     -[A7], D3
  6446. 000042B4  4FEF FFE6                lea.l      A7, [A7 - 0x1A]
  6447. 000042B8  262F 0022                move.l     D3, [A7 + 0x22]
  6448. 000042BC  7210                     moveq.l    D1, 0x10
  6449. 000042BE  E2A3                     asr        D3, D1
  6450. 000042C0  486F 0006                pea.l      [A7 + 0x6]
  6451. 000042C4  A874                     syscall    GetPort
  6452. 000042C6  486F 0012                pea.l      [A7 + 0x12]
  6453. 000042CA  3F03                     move.w     -[A7], D3
  6454. 000042CC  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  6455. 000042D0  4EBA D406                jsr        [PC - 0x2BFA /* 000016D8 */]
  6456. 000042D4  302F 0036                move.w     D0, [A7 + 0x36]
  6457. 000042D8  48C0                     ext.l      D0
  6458. 000042DA  7202                     moveq.l    D1, 0x02
  6459. 000042DC  B081                     cmp.l      D0, D1
  6460. 000042DE  4FEF 000A                lea.l      A7, [A7 + 0xA]
  6461. 000042E2  6E0A                     bgt        +0xC /* 000042EE */
  6462. 000042E4  486F 0012                pea.l      [A7 + 0x12]
  6463. 000042E8  A8A1                     syscall    FrameRect
  6464. 000042EA  6000 00D6                bra        +0xD8 /* 000043C2 */
  6465. label000042EE:
  6466. 000042EE  2EAD B466                move.l     [A7], [A5 - 0x4B9A]
  6467. 000042F2  3F6D B46A 0004           move.w     [A7 + 0x4], [A5 - 0x4B96]
  6468. 000042F8  362F 0024                move.w     D3, [A7 + 0x24]
  6469. 000042FC  486F 000A                pea.l      [A7 + 0xA]
  6470. 00004300  3F03                     move.w     -[A7], D3
  6471. 00004302  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  6472. 00004306  4EBA D3D0                jsr        [PC - 0x2C30 /* 000016D8 */]
  6473. 0000430A  486F 0014                pea.l      [A7 + 0x14]
  6474. 0000430E  4878 FFFF                push.l     0xFFFF
  6475. 00004312  A8A9                     syscall    InsetRect
  6476. 00004314  4EBA CF5E                jsr        [PC - 0x30A2 /* 00001274 */]
  6477. 00004318  486F 000A                pea.l      [A7 + 0xA]
  6478. 0000431C  AA14                     syscall    RGBForeColor
  6479. 0000431E  3F2F 001E                move.w     -[A7], [A7 + 0x1E]
  6480. 00004322  302F 0022                move.w     D0, [A7 + 0x22]
  6481. 00004326  48C0                     ext.l      D0
  6482. 00004328  5380                     subq.l     D0, 1
  6483. 0000432A  3F00                     move.w     -[A7], D0
  6484. 0000432C  A893                     syscall    MoveTo
  6485. 0000432E  3F2F 001E                move.w     -[A7], [A7 + 0x1E]
  6486. 00004332  3F2F 001E                move.w     -[A7], [A7 + 0x1E]
  6487. 00004336  A891                     syscall    LineTo
  6488. 00004338  3F2F 0016                move.w     -[A7], [A7 + 0x16]
  6489. 0000433C  3F2F 001E                move.w     -[A7], [A7 + 0x1E]
  6490. 00004340  A891                     syscall    LineTo
  6491. 00004342  3F2F 0016                move.w     -[A7], [A7 + 0x16]
  6492. 00004346  3F2F 0016                move.w     -[A7], [A7 + 0x16]
  6493. 0000434A  A891                     syscall    LineTo
  6494. 0000434C  302F 001A                move.w     D0, [A7 + 0x1A]
  6495. 00004350  48C0                     ext.l      D0
  6496. 00004352  5380                     subq.l     D0, 1
  6497. 00004354  3F00                     move.w     -[A7], D0
  6498. 00004356  3F2F 0016                move.w     -[A7], [A7 + 0x16]
  6499. 0000435A  A891                     syscall    LineTo
  6500. 0000435C  4878 001E                push.l     0x1E
  6501. 00004360  A862                     syscall    ForeColor
  6502. 00004362  302F 001A                move.w     D0, [A7 + 0x1A]
  6503. 00004366  48C0                     ext.l      D0
  6504. 00004368  5380                     subq.l     D0, 1
  6505. 0000436A  3F00                     move.w     -[A7], D0
  6506. 0000436C  3F2F 001E                move.w     -[A7], [A7 + 0x1E]
  6507. 00004370  A891                     syscall    LineTo
  6508. 00004372  486F 000A                pea.l      [A7 + 0xA]
  6509. 00004376  AA14                     syscall    RGBForeColor
  6510. 00004378  302F 0022                move.w     D0, [A7 + 0x22]
  6511. 0000437C  48C0                     ext.l      D0
  6512. 0000437E  5380                     subq.l     D0, 1
  6513. 00004380  3F00                     move.w     -[A7], D0
  6514. 00004382  3F2F 001E                move.w     -[A7], [A7 + 0x1E]
  6515. 00004386  A891                     syscall    LineTo
  6516. 00004388  4878 001E                push.l     0x1E
  6517. 0000438C  A862                     syscall    ForeColor
  6518. 0000438E  302F 0022                move.w     D0, [A7 + 0x22]
  6519. 00004392  48C0                     ext.l      D0
  6520. 00004394  5380                     subq.l     D0, 1
  6521. 00004396  3F00                     move.w     -[A7], D0
  6522. 00004398  302F 0022                move.w     D0, [A7 + 0x22]
  6523. 0000439C  48C0                     ext.l      D0
  6524. 0000439E  5380                     subq.l     D0, 1
  6525. 000043A0  3F00                     move.w     -[A7], D0
  6526. 000043A2  A891                     syscall    LineTo
  6527. 000043A4  302F 001E                move.w     D0, [A7 + 0x1E]
  6528. 000043A8  48C0                     ext.l      D0
  6529. 000043AA  5280                     addq.l     D0, 1
  6530. 000043AC  3F00                     move.w     -[A7], D0
  6531. 000043AE  302F 0022                move.w     D0, [A7 + 0x22]
  6532. 000043B2  48C0                     ext.l      D0
  6533. 000043B4  5380                     subq.l     D0, 1
  6534. 000043B6  3F00                     move.w     -[A7], D0
  6535. 000043B8  A891                     syscall    LineTo
  6536. 000043BA  4EBA CF3A                jsr        [PC - 0x30C6 /* 000012F6 */]
  6537. 000043BE  4FEF 000A                lea.l      A7, [A7 + 0xA]
  6538. label000043C2:
  6539. 000043C2  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  6540. 000043C6  261F                     move.l     D3, [A7]+
  6541. 000043C8  205F                     movea.l    A0, [A7]+
  6542. 000043CA  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6543. 000043CE  4ED0                     jmp        [A0]
  6544. 000043D0  2F0A                     move.l     -[A7], A2
  6545. 000043D2  5D4F                     subq.w     A7, 6
  6546. 000043D4  246F 000E                movea.l    A2, [A7 + 0xE]
  6547. 000043D8  302F 0018                move.w     D0, [A7 + 0x18]
  6548. 000043DC  48C0                     ext.l      D0
  6549. 000043DE  7202                     moveq.l    D1, 0x02
  6550. 000043E0  B081                     cmp.l      D0, D1
  6551. 000043E2  6F00 009C                ble        +0x9E /* 00004480 */
  6552. 000043E6  3F7C 7778 0004           move.w     [A7 + 0x4], 0x7778 /* 'wx' */
  6553. 000043EC  3F7C 7778 0002           move.w     [A7 + 0x2], 0x7778 /* 'wx' */
  6554. 000043F2  3EBC 7778                move.w     [A7], 0x7778 /* 'wx' */
  6555. 000043F6  4AAA 0008                tst.l      [A2 + 0x8]
  6556. 000043FA  6708                     beq        +0xA /* 00004404 */
  6557. 000043FC  4878 001E                push.l     0x1E
  6558. 00004400  A862                     syscall    ForeColor
  6559. 00004402  6004                     bra        +0x6 /* 00004408 */
  6560. label00004404:
  6561. 00004404  4857                     pea.l      [A7]
  6562. 00004406  AA14                     syscall    RGBForeColor
  6563. label00004408:
  6564. 00004408  3F2A 0002                move.w     -[A7], [A2 + 0x2]
  6565. 0000440C  302A 0004                move.w     D0, [A2 + 0x4]
  6566. 00004410  48C0                     ext.l      D0
  6567. 00004412  5380                     subq.l     D0, 1
  6568. 00004414  3F00                     move.w     -[A7], D0
  6569. 00004416  A893                     syscall    MoveTo
  6570. 00004418  3F2A 0002                move.w     -[A7], [A2 + 0x2]
  6571. 0000441C  3F12                     move.w     -[A7], [A2]
  6572. 0000441E  A891                     syscall    LineTo
  6573. 00004420  302A 0006                move.w     D0, [A2 + 0x6]
  6574. 00004424  48C0                     ext.l      D0
  6575. 00004426  5380                     subq.l     D0, 1
  6576. 00004428  3F00                     move.w     -[A7], D0
  6577. 0000442A  3F12                     move.w     -[A7], [A2]
  6578. 0000442C  A891                     syscall    LineTo
  6579. 0000442E  4AAA 0008                tst.l      [A2 + 0x8]
  6580. 00004432  6706                     beq        +0x8 /* 0000443A */
  6581. 00004434  4857                     pea.l      [A7]
  6582. 00004436  AA14                     syscall    RGBForeColor
  6583. 00004438  6006                     bra        +0x8 /* 00004440 */
  6584. label0000443A:
  6585. 0000443A  4878 001E                push.l     0x1E
  6586. 0000443E  A862                     syscall    ForeColor
  6587. label00004440:
  6588. 00004440  302A 0006                move.w     D0, [A2 + 0x6]
  6589. 00004444  48C0                     ext.l      D0
  6590. 00004446  5380                     subq.l     D0, 1
  6591. 00004448  3F00                     move.w     -[A7], D0
  6592. 0000444A  3012                     move.w     D0, [A2]
  6593. 0000444C  48C0                     ext.l      D0
  6594. 0000444E  5280                     addq.l     D0, 1
  6595. 00004450  3F00                     move.w     -[A7], D0
  6596. 00004452  A893                     syscall    MoveTo
  6597. 00004454  302A 0006                move.w     D0, [A2 + 0x6]
  6598. 00004458  48C0                     ext.l      D0
  6599. 0000445A  5380                     subq.l     D0, 1
  6600. 0000445C  3F00                     move.w     -[A7], D0
  6601. 0000445E  302A 0004                move.w     D0, [A2 + 0x4]
  6602. 00004462  48C0                     ext.l      D0
  6603. 00004464  5380                     subq.l     D0, 1
  6604. 00004466  3F00                     move.w     -[A7], D0
  6605. 00004468  A891                     syscall    LineTo
  6606. 0000446A  302A 0002                move.w     D0, [A2 + 0x2]
  6607. 0000446E  48C0                     ext.l      D0
  6608. 00004470  5280                     addq.l     D0, 1
  6609. 00004472  3F00                     move.w     -[A7], D0
  6610. 00004474  302A 0004                move.w     D0, [A2 + 0x4]
  6611. 00004478  48C0                     ext.l      D0
  6612. 0000447A  5380                     subq.l     D0, 1
  6613. 0000447C  3F00                     move.w     -[A7], D0
  6614. 0000447E  A891                     syscall    LineTo
  6615. label00004480:
  6616. 00004480  5C4F                     addq.w     A7, 6
  6617. 00004482  245F                     movea.l    A2, [A7]+
  6618. 00004484  205F                     movea.l    A0, [A7]+
  6619. 00004486  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6620. 0000448A  4ED0                     jmp        [A0]
  6621. fn0000448C:
  6622. 0000448C  48E7 1030                movem.l    -[A7], D3,A2,A3
  6623. 00004490  514F                     subq.w     A7, 8
  6624. 00004492  266F 0018                movea.l    A3, [A7 + 0x18]
  6625. 00004496  246F 001C                movea.l    A2, [A7 + 0x1C]
  6626. 0000449A  4857                     pea.l      [A7]
  6627. 0000449C  3F3C 0003                move.w     -[A7], 0x3
  6628. 000044A0  2F0B                     move.l     -[A7], A3
  6629. 000044A2  4EBA D234                jsr        [PC - 0x2DCC /* 000016D8 */]
  6630. 000044A6  362F 0010                move.w     D3, [A7 + 0x10]
  6631. 000044AA  48C3                     ext.l      D3
  6632. 000044AC  322B 0016                move.w     D1, [A3 + 0x16]
  6633. 000044B0  48C1                     ext.l      D1
  6634. 000044B2  9283                     sub.l      D1, D3
  6635. 000044B4  2601                     move.l     D3, D1
  6636. 000044B6  E08B                     lsr        D3, 8
  6637. 000044B8  E08B                     lsr        D3, 8
  6638. 000044BA  E08B                     lsr        D3, 8
  6639. 000044BC  EE8B                     lsr        D3, 7
  6640. 000044BE  D681                     add.l      D3, D1
  6641. 000044C0  E283                     asr        D3, 1
  6642. 000044C2  3483                     move.w     [A2], D3
  6643. 000044C4  3543 0002                move.w     [A2 + 0x2], D3
  6644. 000044C8  3003                     move.w     D0, D3
  6645. 000044CA  48C0                     ext.l      D0
  6646. 000044CC  322B 0016                move.w     D1, [A3 + 0x16]
  6647. 000044D0  48C1                     ext.l      D1
  6648. 000044D2  9280                     sub.l      D1, D0
  6649. 000044D4  3541 0006                move.w     [A2 + 0x6], D1
  6650. 000044D8  3003                     move.w     D0, D3
  6651. 000044DA  48C0                     ext.l      D0
  6652. 000044DC  322F 000A                move.w     D1, [A7 + 0xA]
  6653. 000044E0  48C1                     ext.l      D1
  6654. 000044E2  9280                     sub.l      D1, D0
  6655. 000044E4  3541 0004                move.w     [A2 + 0x4], D1
  6656. 000044E8  4FEF 0012                lea.l      A7, [A7 + 0x12]
  6657. 000044EC  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  6658. 000044F0  4E75                     rts
  6659. fn000044F2:
  6660. 000044F2  48E7 1020                movem.l    -[A7], D3,A2
  6661. 000044F6  4FEF FFE6                lea.l      A7, [A7 - 0x1A]
  6662. 000044FA  246F 0026                movea.l    A2, [A7 + 0x26]
  6663. 000044FE  362A 00A4                move.w     D3, [A2 + 0xA4]
  6664. 00004502  48C3                     ext.l      D3
  6665. 00004504  5283                     addq.l     D3, 1
  6666. 00004506  4EBA CD6C                jsr        [PC - 0x3294 /* 00001274 */]
  6667. 0000450A  4A43                     tst.w      D3
  6668. 0000450C  6738                     beq        +0x3A /* 00004546 */
  6669. 0000450E  486F 0006                pea.l      [A7 + 0x6]
  6670. 00004512  3F03                     move.w     -[A7], D3
  6671. 00004514  2F0A                     move.l     -[A7], A2
  6672. 00004516  4EBA D1C0                jsr        [PC - 0x2E40 /* 000016D8 */]
  6673. 0000451A  4878 001E                push.l     0x1E
  6674. 0000451E  A863                     syscall    BackColor
  6675. 00004520  486F 0010                pea.l      [A7 + 0x10]
  6676. 00004524  2F3C FFFE FFFE           move.l     -[A7], 0xFFFEFFFE
  6677. 0000452A  A8A9                     syscall    InsetRect
  6678. 0000452C  486F 0010                pea.l      [A7 + 0x10]
  6679. 00004530  A8A3                     syscall    EraseRect
  6680. 00004532  486F 0010                pea.l      [A7 + 0x10]
  6681. 00004536  2F2A 00A0                move.l     -[A7], [A2 + 0xA0]
  6682. 0000453A  A9D3                     syscall    TEUpdate
  6683. 0000453C  486F 0010                pea.l      [A7 + 0x10]
  6684. 00004540  A92A                     syscall    ValidRect
  6685. 00004542  4FEF 000A                lea.l      A7, [A7 + 0xA]
  6686. label00004546:
  6687. 00004546  2F0A                     move.l     -[A7], A2
  6688. 00004548  A922                     syscall    BeginUpdate
  6689. 0000454A  3F7C DDDE 0004           move.w     [A7 + 0x4], 0xDDDE
  6690. 00004550  3F7C DDDE 0002           move.w     [A7 + 0x2], 0xDDDE
  6691. 00004556  3EBC DDDE                move.w     [A7], 0xDDDE
  6692. 0000455A  4857                     pea.l      [A7]
  6693. 0000455C  AA15                     syscall    RGBBackColor
  6694. 0000455E  2F0A                     move.l     -[A7], A2
  6695. 00004560  2F2A 0018                move.l     -[A7], [A2 + 0x18]
  6696. 00004564  A978                     syscall    UpdtDialog
  6697. 00004566  2F6A 0010 000E           move.l     [A7 + 0xE], [A2 + 0x10]
  6698. 0000456C  2F6A 0014 0012           move.l     [A7 + 0x12], [A2 + 0x14]
  6699. 00004572  7001                     moveq.l    D0, 0x01
  6700. 00004574  2F40 0016                move.l     [A7 + 0x16], D0
  6701. 00004578  2F2A 0018                move.l     -[A7], [A2 + 0x18]
  6702. 0000457C  486D DF68                pea.l      [A5 - 0x2098]
  6703. 00004580  486F 0016                pea.l      [A7 + 0x16]
  6704. 00004584  42A7                     clr.l      -[A7]
  6705. 00004586  4EBA D40C                jsr        [PC - 0x2BF4 /* 00001994 */]
  6706. 0000458A  4AAF 002A                tst.l      [A7 + 0x2A]
  6707. 0000458E  6722                     beq        +0x24 /* 000045B2 */
  6708. 00004590  486F 000E                pea.l      [A7 + 0xE]
  6709. 00004594  2F0A                     move.l     -[A7], A2
  6710. 00004596  4EBA FEF4                jsr        [PC - 0x10C /* 0000448C */]
  6711. 0000459A  42AF 001E                clr.l      [A7 + 0x1E]
  6712. 0000459E  2F2A 0018                move.l     -[A7], [A2 + 0x18]
  6713. 000045A2  486D DF68                pea.l      [A5 - 0x2098]
  6714. 000045A6  486F 001E                pea.l      [A7 + 0x1E]
  6715. 000045AA  42A7                     clr.l      -[A7]
  6716. 000045AC  4EBA D3E6                jsr        [PC - 0x2C1A /* 00001994 */]
  6717. 000045B0  504F                     addq.w     A7, 8
  6718. label000045B2:
  6719. 000045B2  2F0A                     move.l     -[A7], A2
  6720. 000045B4  A923                     syscall    EndUpdate
  6721. 000045B6  4EBA CD3E                jsr        [PC - 0x32C2 /* 000012F6 */]
  6722. 000045BA  4878 001E                push.l     0x1E
  6723. 000045BE  A863                     syscall    BackColor
  6724. 000045C0  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  6725. 000045C4  4CDF 0408                movem.l    D3,A2, [A7]+
  6726. 000045C8  4E75                     rts
  6727. fn000045CA:
  6728. 000045CA  4FEF FFC8                lea.l      A7, [A7 - 0x38]
  6729. 000045CE  4AAD 131E                tst.l      [A5 + 0x131E]
  6730. 000045D2  6700 00D0                beq        +0xD2 /* 000046A4 */
  6731. 000045D6  4AAD 1316                tst.l      [A5 + 0x1316]
  6732. 000045DA  6700 00C8                beq        +0xCA /* 000046A4 */
  6733. 000045DE  4AAD 81C6                tst.l      [A5 - 0x7E3A]
  6734. 000045E2  6708                     beq        +0xA /* 000045EC */
  6735. 000045E4  7000                     moveq.l    D0, 0x00
  6736. 000045E6  4FEF 0038                lea.l      A7, [A7 + 0x38]
  6737. 000045EA  4E75                     rts
  6738. label000045EC:
  6739. 000045EC  554F                     subq.w     A7, 2
  6740. 000045EE  486F 0006                pea.l      [A7 + 0x6]
  6741. 000045F2  70FF                     moveq.l    D0, 0xFFFFFFFF
  6742. 000045F4  2F00                     move.l     -[A7], D0
  6743. 000045F6  3F3C 0039                move.w     -[A7], 0x39 /* '9' */
  6744. 000045FA  A88F                     syscall    OSDispatch
  6745. 000045FC  301F                     move.w     D0, [A7]+
  6746. 000045FE  554F                     subq.w     A7, 2
  6747. 00004600  486F 000E                pea.l      [A7 + 0xE]
  6748. 00004604  3F3C 0037                move.w     -[A7], 0x37 /* '7' */
  6749. 00004608  A88F                     syscall    OSDispatch
  6750. 0000460A  301F                     move.w     D0, [A7]+
  6751. 0000460C  554F                     subq.w     A7, 2
  6752. 0000460E  486F 0006                pea.l      [A7 + 0x6]
  6753. 00004612  486F 0012                pea.l      [A7 + 0x12]
  6754. 00004616  486F 000D                pea.l      [A7 + 0xD]
  6755. 0000461A  3F3C 003D                move.w     -[A7], 0x3D /* '=' */
  6756. 0000461E  A88F                     syscall    OSDispatch
  6757. 00004620  301F                     move.w     D0, [A7]+
  6758. 00004622  4A2F 0003                tst.b      [A7 + 0x3]
  6759. 00004626  667C                     bne        +0x7E /* 000046A4 */
  6760. 00004628  41ED 81A2                lea.l      A0, [A5 - 0x7E5E]
  6761. 0000462C  43EF 0014                lea.l      A1, [A7 + 0x14]
  6762. 00004630  7008                     moveq.l    D0, 0x08
  6763. label00004632:
  6764. 00004632  22D8                     move.l     [A1]+, [A0]+
  6765. 00004634  51C8 FFFC                dbf        D0, -0x6 /* 00004632 */
  6766. 00004638  3F7C 0008 0018           move.w     [A7 + 0x18], 0x8
  6767. 0000463E  3F7C 0001 0022           move.w     [A7 + 0x22], 0x1
  6768. 00004644  70FF                     moveq.l    D0, 0xFFFFFFFF
  6769. 00004646  2F40 0028                move.l     [A7 + 0x28], D0
  6770. 0000464A  554F                     subq.w     A7, 2
  6771. 0000464C  486F 0026                pea.l      [A7 + 0x26]
  6772. 00004650  3F3C 0081                move.w     -[A7], 0x81
  6773. 00004654  2F3C 0000 FF00           move.l     -[A7], 0xFF00
  6774. 0000465A  303C 0501                move.w     D0, 0x501
  6775. 0000465E  ABC9                     syscall    IconDispatch
  6776. 00004660  301F                     move.w     D0, [A7]+
  6777. 00004662  7001                     moveq.l    D0, 0x01
  6778. 00004664  2B40 81C6                move.l     [A5 - 0x7E3A], D0
  6779. 00004668  554F                     subq.w     A7, 2
  6780. 0000466A  4878 FFFF                push.l     0xFFFF
  6781. 0000466E  486F 001A                pea.l      [A7 + 0x1A]
  6782. 00004672  42A7                     clr.l      -[A7]
  6783. 00004674  303C 061C                move.w     D0, 0x61C
  6784. 00004678  A816                     syscall    Pack8
  6785. 0000467A  301F                     move.w     D0, [A7]+
  6786. 0000467C  3E80                     move.w     [A7], D0
  6787. 0000467E  42AD 81C6                clr.l      [A5 - 0x7E3A]
  6788. 00004682  4AAF 0024                tst.l      [A7 + 0x24]
  6789. 00004686  6710                     beq        +0x12 /* 00004698 */
  6790. 00004688  554F                     subq.w     A7, 2
  6791. 0000468A  2F2F 0026                move.l     -[A7], [A7 + 0x26]
  6792. 0000468E  4227                     clr.b      -[A7]
  6793. 00004690  303C 0302                move.w     D0, 0x302
  6794. 00004694  ABC9                     syscall    IconDispatch
  6795. 00004696  301F                     move.w     D0, [A7]+
  6796. label00004698:
  6797. 00004698  4A57                     tst.w      [A7]
  6798. 0000469A  6708                     beq        +0xA /* 000046A4 */
  6799. 0000469C  7000                     moveq.l    D0, 0x00
  6800. 0000469E  4FEF 0038                lea.l      A7, [A7 + 0x38]
  6801. 000046A2  4E75                     rts
  6802. label000046A4:
  6803. 000046A4  7001                     moveq.l    D0, 0x01
  6804. 000046A6  4FEF 0038                lea.l      A7, [A7 + 0x38]
  6805. 000046AA  4E75                     rts
  6806. fn000046AC:
  6807. 000046AC  48E7 1020                movem.l    -[A7], D3,A2
  6808. 000046B0  246F 000C                movea.l    A2, [A7 + 0xC]
  6809. 000046B4  7000                     moveq.l    D0, 0x00
  6810. 000046B6  1012                     move.b     D0, [A2]
  6811. 000046B8  7201                     moveq.l    D1, 0x01
  6812. 000046BA  B081                     cmp.l      D0, D1
  6813. 000046BC  6D30                     blt        +0x32 /* 000046EE */
  6814. 000046BE  0C2A 002D 0001           cmpi.b     [A2 + 0x1], 0x2D /* '-' */
  6815. 000046C4  6628                     bne        +0x2A /* 000046EE */
  6816. 000046C6  1612                     move.b     D3, [A2]
  6817. 000046C8  7000                     moveq.l    D0, 0x00
  6818. 000046CA  1003                     move.b     D0, D3
  6819. 000046CC  0C80 0000 00FE           cmpi.l     D0, 0xFE
  6820. 000046D2  6F04                     ble        +0x6 /* 000046D8 */
  6821. 000046D4  163C 00FE                move.b     D3, 0xFE
  6822. label000046D8:
  6823. 000046D8  41EA 0001                lea.l      A0, [A2 + 0x1]
  6824. 000046DC  43EA 0002                lea.l      A1, [A2 + 0x2]
  6825. 000046E0  7000                     moveq.l    D0, 0x00
  6826. 000046E2  1003                     move.b     D0, D3
  6827. 000046E4  A02E                     syscall    BlockMove/BlockMoveData
  6828. 000046E6  5212                     addq.b     [A2], 1
  6829. 000046E8  157C 0020 0001           move.b     [A2 + 0x1], 0x20 /* ' ' */
  6830. label000046EE:
  6831. 000046EE  4CDF 0408                movem.l    D3,A2, [A7]+
  6832. 000046F2  4E75                     rts
  6833. 000046F4  4AAD 83BE                tst.l      [A5 - 0x7C42]
  6834. 000046F8  670A                     beq        +0xC /* 00004704 */
  6835. 000046FA  206D 83BE                movea.l    A0, [A5 - 0x7C42]
  6836. 000046FE  A023                     syscall    DisposHandle/DisposeHandle
  6837. 00004700  42AD 83BE                clr.l      [A5 - 0x7C42]
  6838. label00004704:
  6839. 00004704  4E75                     rts
  6840. fn00004706:
  6841. 00004706  2F0A                     move.l     -[A7], A2
  6842. 00004708  6030                     bra        +0x32 /* 0000473A */
  6843. label0000470A:
  6844. 0000470A  53AD 83B6                subq.l     [A5 - 0x7C4A], 1
  6845. 0000470E  202D 83B6                move.l     D0, [A5 - 0x7C4A]
  6846. 00004712  E588                     lsl        D0, 2
  6847. 00004714  206D 83BE                movea.l    A0, [A5 - 0x7C42]
  6848. 00004718  2250                     movea.l    A1, [A0]
  6849. 0000471A  2471 0800                movea.l    A2, [A1 + D0]
  6850. 0000471E  200A                     move.l     D0, A2
  6851. 00004720  6718                     beq        +0x1A /* 0000473A */
  6852. 00004722  4AAD 83B2                tst.l      [A5 - 0x7C4E]
  6853. 00004726  670A                     beq        +0xC /* 00004732 */
  6854. 00004728  B5ED 83A2                cmpa.l     A2, [A5 - 0x7C5E]
  6855. 0000472C  6604                     bne        +0x6 /* 00004732 */
  6856. 0000472E  42AD 83B2                clr.l      [A5 - 0x7C4E]
  6857. label00004732:
  6858. 00004732  2F0A                     move.l     -[A7], A2
  6859. 00004734  4EAD E780                jsr        [A5 - 0x1880]
  6860. 00004738  584F                     addq.w     A7, 4
  6861. label0000473A:
  6862. 0000473A  4AAD 83B6                tst.l      [A5 - 0x7C4A]
  6863. 0000473E  6ECA                     bgt        -0x34 /* 0000470A */
  6864. 00004740  245F                     movea.l    A2, [A7]+
  6865. 00004742  4E75                     rts
  6866. 00004744  2F0B                     move.l     -[A7], A3
  6867. 00004746  266F 0008                movea.l    A3, [A7 + 0x8]
  6868. 0000474A  B7ED 8396                cmpa.l     A3, [A5 - 0x7C6A]
  6869. 0000474E  6604                     bne        +0x6 /* 00004754 */
  6870. 00004750  42AD 8396                clr.l      [A5 - 0x7C6A]
  6871. label00004754:
  6872. 00004754  4AAD 83B6                tst.l      [A5 - 0x7C4A]
  6873. 00004758  671A                     beq        +0x1C /* 00004774 */
  6874. 0000475A  206D 83BE                movea.l    A0, [A5 - 0x7C42]
  6875. 0000475E  2250                     movea.l    A1, [A0]
  6876. 00004760  7000                     moveq.l    D0, 0x00
  6877. 00004762  600A                     bra        +0xC /* 0000476E */
  6878. label00004764:
  6879. 00004764  B7D1                     cmpa.l     A3, [A1]
  6880. 00004766  6602                     bne        +0x4 /* 0000476A */
  6881. 00004768  4291                     clr.l      [A1]
  6882. label0000476A:
  6883. 0000476A  5280                     addq.l     D0, 1
  6884. 0000476C  5889                     addq.l     A1, 4
  6885. label0000476E:
  6886. 0000476E  B0AD 83B6                cmp.l      D0, [A5 - 0x7C4A]
  6887. 00004772  6DF0                     blt        -0xE /* 00004764 */
  6888. label00004774:
  6889. 00004774  265F                     movea.l    A3, [A7]+
  6890. 00004776  4E75                     rts
  6891. fn00004778:
  6892. 00004778  48E7 1030                movem.l    -[A7], D3,A2,A3
  6893. 0000477C  266F 0010                movea.l    A3, [A7 + 0x10]
  6894. 00004780  4AAD 83B6                tst.l      [A5 - 0x7C4A]
  6895. 00004784  6718                     beq        +0x1A /* 0000479E */
  6896. 00004786  206D 83BE                movea.l    A0, [A5 - 0x7C42]
  6897. 0000478A  2450                     movea.l    A2, [A0]
  6898. 0000478C  7600                     moveq.l    D3, 0x00
  6899. 0000478E  6008                     bra        +0xA /* 00004798 */
  6900. label00004790:
  6901. 00004790  B7D2                     cmpa.l     A3, [A2]
  6902. 00004792  6756                     beq        +0x58 /* 000047EA */
  6903. 00004794  5283                     addq.l     D3, 1
  6904. 00004796  588A                     addq.l     A2, 4
  6905. label00004798:
  6906. 00004798  B6AD 83B6                cmp.l      D3, [A5 - 0x7C4A]
  6907. 0000479C  6DF2                     blt        -0xC /* 00004790 */
  6908. label0000479E:
  6909. 0000479E  202D 83B6                move.l     D0, [A5 - 0x7C4A]
  6910. 000047A2  5280                     addq.l     D0, 1
  6911. 000047A4  B0AD 83BA                cmp.l      D0, [A5 - 0x7C46]
  6912. 000047A8  6F2C                     ble        +0x2E /* 000047D6 */
  6913. 000047AA  4AAD 83BE                tst.l      [A5 - 0x7C42]
  6914. 000047AE  6710                     beq        +0x12 /* 000047C0 */
  6915. 000047B0  206D 83BE                movea.l    A0, [A5 - 0x7C42]
  6916. 000047B4  202D 83BA                move.l     D0, [A5 - 0x7C46]
  6917. 000047B8  5280                     addq.l     D0, 1
  6918. 000047BA  E588                     lsl        D0, 2
  6919. 000047BC  A024                     syscall    SetHandleSize
  6920. 000047BE  6008                     bra        +0xA /* 000047C8 */
  6921. label000047C0:
  6922. 000047C0  7004                     moveq.l    D0, 0x04
  6923. 000047C2  A122                     syscall    NewHandle, flags=1
  6924. 000047C4  2B48 83BE                move.l     [A5 - 0x7C42], A0
  6925. label000047C8:
  6926. 000047C8  554F                     subq.w     A7, 2
  6927. 000047CA  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  6928. 000047CE  301F                     move.w     D0, [A7]+
  6929. 000047D0  6618                     bne        +0x1A /* 000047EA */
  6930. 000047D2  52AD 83BA                addq.l     [A5 - 0x7C46], 1
  6931. label000047D6:
  6932. 000047D6  202D 83B6                move.l     D0, [A5 - 0x7C4A]
  6933. 000047DA  52AD 83B6                addq.l     [A5 - 0x7C4A], 1
  6934. 000047DE  E588                     lsl        D0, 2
  6935. 000047E0  206D 83BE                movea.l    A0, [A5 - 0x7C42]
  6936. 000047E4  2250                     movea.l    A1, [A0]
  6937. 000047E6  238B 0800                move.l     [A1 + D0], A3
  6938. label000047EA:
  6939. 000047EA  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  6940. 000047EE  2E9F                     move.l     [A7], [A7]+
  6941. 000047F0  4E75                     rts
  6942. fn000047F2:
  6943. 000047F2  7001                     moveq.l    D0, 0x01
  6944. 000047F4  2B40 83CA                move.l     [A5 - 0x7C36], D0
  6945. 000047F8  302F 0004                move.w     D0, [A7 + 0x4]
  6946. 000047FC  48C0                     ext.l      D0
  6947. 000047FE  2B40 83C6                move.l     [A5 - 0x7C3A], D0
  6948. 00004802  205F                     movea.l    A0, [A7]+
  6949. 00004804  544F                     addq.w     A7, 2
  6950. 00004806  4ED0                     jmp        [A0]
  6951. 00004808  7001                     moveq.l    D0, 0x01
  6952. 0000480A  2B40 83B2                move.l     [A5 - 0x7C4E], D0
  6953. 0000480E  302F 000C                move.w     D0, [A7 + 0xC]
  6954. 00004812  48C0                     ext.l      D0
  6955. 00004814  2B40 83AE                move.l     [A5 - 0x7C52], D0
  6956. 00004818  206F 0008                movea.l    A0, [A7 + 0x8]
  6957. 0000481C  2B50 83A6                move.l     [A5 - 0x7C5A], [A0]
  6958. 00004820  2B68 0004 83AA           move.l     [A5 - 0x7C56], [A0 + 0x4]
  6959. 00004826  2B6F 0004 83A2           move.l     [A5 - 0x7C5E], [A7 + 0x4]
  6960. 0000482C  4E75                     rts
  6961. 0000482E  2F0A                     move.l     -[A7], A2
  6962. 00004830  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  6963. 00004834  6044                     bra        +0x46 /* 0000487A */
  6964. label00004836:
  6965. 00004836  42A7                     clr.l      -[A7]
  6966. 00004838  42A7                     clr.l      -[A7]
  6967. 0000483A  4EAD E480                jsr        [A5 - 0x1B80]
  6968. 0000483E  4AAD 132A                tst.l      [A5 + 0x132A /* export_609 */]
  6969. 00004842  504F                     addq.w     A7, 8
  6970. 00004844  670E                     beq        +0x10 /* 00004854 */
  6971. 00004846  554F                     subq.w     A7, 2
  6972. 00004848  486F 0002                pea.l      [A7 + 0x2]
  6973. 0000484C  7004                     moveq.l    D0, 0x04
  6974. 0000484E  AA54                     syscall    TextServicesDispatch
  6975. 00004850  101F                     move.b     D0, [A7]+
  6976. 00004852  6626                     bne        +0x28 /* 0000487A */
  6977. label00004854:
  6978. 00004854  246F 0002                movea.l    A2, [A7 + 0x2]
  6979. 00004858  2F0A                     move.l     -[A7], A2
  6980. 0000485A  4EBA C8F2                jsr        [PC - 0x370E /* 0000114E */]
  6981. 0000485E  486A 0010                pea.l      [A2 + 0x10]
  6982. 00004862  4EBA C922                jsr        [PC - 0x36DE /* 00001186 */]
  6983. 00004866  486F 0008                pea.l      [A7 + 0x8]
  6984. 0000486A  4EBA 00DA                jsr        [PC + 0xDA /* 00004946 */]
  6985. 0000486E  4EBA C94A                jsr        [PC - 0x36B6 /* 000011BA */]
  6986. 00004872  4EBA C8FC                jsr        [PC - 0x3704 /* 00001170 */]
  6987. 00004876  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6988. label0000487A:
  6989. 0000487A  42A7                     clr.l      -[A7]
  6990. 0000487C  42A7                     clr.l      -[A7]
  6991. 0000487E  486F 0008                pea.l      [A7 + 0x8]
  6992. 00004882  3F3C 0040                move.w     -[A7], 0x40 /* '@' */
  6993. 00004886  4EBA 0C86                jsr        [PC + 0xC86 /* 0000550E */]
  6994. 0000488A  4A80                     tst.l      D0
  6995. 0000488C  4FEF 000E                lea.l      A7, [A7 + 0xE]
  6996. 00004890  66A4                     bne        -0x5A /* 00004836 */
  6997. 00004892  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6998. 00004896  245F                     movea.l    A2, [A7]+
  6999. 00004898  4E75                     rts
  7000. 0000489A  2F0A                     move.l     -[A7], A2
  7001. 0000489C  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  7002. 000048A0  604C                     bra        +0x4E /* 000048EE */
  7003. label000048A2:
  7004. 000048A2  42A7                     clr.l      -[A7]
  7005. 000048A4  42A7                     clr.l      -[A7]
  7006. 000048A6  4EAD E480                jsr        [A5 - 0x1B80]
  7007. 000048AA  4AAD 132A                tst.l      [A5 + 0x132A /* export_609 */]
  7008. 000048AE  504F                     addq.w     A7, 8
  7009. 000048B0  670E                     beq        +0x10 /* 000048C0 */
  7010. 000048B2  554F                     subq.w     A7, 2
  7011. 000048B4  486F 0002                pea.l      [A7 + 0x2]
  7012. 000048B8  7004                     moveq.l    D0, 0x04
  7013. 000048BA  AA54                     syscall    TextServicesDispatch
  7014. 000048BC  101F                     move.b     D0, [A7]+
  7015. 000048BE  662E                     bne        +0x30 /* 000048EE */
  7016. label000048C0:
  7017. 000048C0  246F 0002                movea.l    A2, [A7 + 0x2]
  7018. 000048C4  2F0A                     move.l     -[A7], A2
  7019. 000048C6  4EBA C886                jsr        [PC - 0x377A /* 0000114E */]
  7020. 000048CA  486A 0010                pea.l      [A2 + 0x10]
  7021. 000048CE  4EBA C8B6                jsr        [PC - 0x374A /* 00001186 */]
  7022. 000048D2  302F 0016                move.w     D0, [A7 + 0x16]
  7023. 000048D6  7201                     moveq.l    D1, 0x01
  7024. 000048D8  C081                     and.l      D0, D1
  7025. 000048DA  2F00                     move.l     -[A7], D0
  7026. 000048DC  2F0A                     move.l     -[A7], A2
  7027. 000048DE  4EBA 00EE                jsr        [PC + 0xEE /* 000049CE */]
  7028. 000048E2  4EBA C8D6                jsr        [PC - 0x372A /* 000011BA */]
  7029. 000048E6  4EBA C888                jsr        [PC - 0x3778 /* 00001170 */]
  7030. 000048EA  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7031. label000048EE:
  7032. 000048EE  42A7                     clr.l      -[A7]
  7033. 000048F0  42A7                     clr.l      -[A7]
  7034. 000048F2  486F 0008                pea.l      [A7 + 0x8]
  7035. 000048F6  3F3C 0100                move.w     -[A7], 0x100
  7036. 000048FA  4EBA 0C12                jsr        [PC + 0xC12 /* 0000550E */]
  7037. 000048FE  4A80                     tst.l      D0
  7038. 00004900  4FEF 000E                lea.l      A7, [A7 + 0xE]
  7039. 00004904  669C                     bne        -0x62 /* 000048A2 */
  7040. 00004906  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7041. 0000490A  245F                     movea.l    A2, [A7]+
  7042. 0000490C  4E75                     rts
  7043. 0000490E  206D 8396                movea.l    A0, [A5 - 0x7C6A]
  7044. 00004912  B1EF 0004                cmpa.l     A0, [A7 + 0x4]
  7045. 00004916  6726                     beq        +0x28 /* 0000493E */
  7046. 00004918  4AAD 8396                tst.l      [A5 - 0x7C6A]
  7047. 0000491C  670C                     beq        +0xE /* 0000492A */
  7048. 0000491E  42A7                     clr.l      -[A7]
  7049. 00004920  2F2D 8396                move.l     -[A7], [A5 - 0x7C6A]
  7050. 00004924  4EAD E7D0                jsr        [A5 - 0x1830]
  7051. 00004928  504F                     addq.w     A7, 8
  7052. label0000492A:
  7053. 0000492A  2B6F 0004 8396           move.l     [A5 - 0x7C6A], [A7 + 0x4]
  7054. 00004930  4878 0001                push.l     0x1
  7055. 00004934  2F2D 8396                move.l     -[A7], [A5 - 0x7C6A]
  7056. 00004938  4EAD E7D0                jsr        [A5 - 0x1830]
  7057. 0000493C  504F                     addq.w     A7, 8
  7058. label0000493E:
  7059. 0000493E  4E75                     rts
  7060. 00004940  206D 8396                movea.l    A0, [A5 - 0x7C6A]
  7061. 00004944  4E75                     rts
  7062. fn00004946:
  7063. 00004946  48E7 1020                movem.l    -[A7], D3,A2
  7064. 0000494A  206F 000C                movea.l    A0, [A7 + 0xC]
  7065. 0000494E  2468 0002                movea.l    A2, [A0 + 0x2]
  7066. 00004952  4EAD E968                jsr        [A5 - 0x1698]
  7067. 00004956  362A 006C                move.w     D3, [A2 + 0x6C]
  7068. 0000495A  B66D B416                cmp.w      D3, [A5 - 0x4BEA]
  7069. 0000495E  6608                     bne        +0xA /* 00004968 */
  7070. 00004960  2F0A                     move.l     -[A7], A2
  7071. 00004962  4EAD E7A0                jsr        [A5 - 0x1860]
  7072. 00004966  584F                     addq.w     A7, 4
  7073. label00004968:
  7074. 00004968  2F0A                     move.l     -[A7], A2
  7075. 0000496A  A922                     syscall    BeginUpdate
  7076. 0000496C  7001                     moveq.l    D0, 0x01
  7077. 0000496E  2B40 83D2                move.l     [A5 - 0x7C2E], D0
  7078. 00004972  B66D B416                cmp.w      D3, [A5 - 0x4BEA]
  7079. 00004976  6614                     bne        +0x16 /* 0000498C */
  7080. 00004978  2F0A                     move.l     -[A7], A2
  7081. 0000497A  4EAD E7A8                jsr        [A5 - 0x1858]
  7082. 0000497E  42A7                     clr.l      -[A7]
  7083. 00004980  2F0A                     move.l     -[A7], A2
  7084. 00004982  4EAD E7B0                jsr        [A5 - 0x1850]
  7085. 00004986  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7086. 0000498A  6010                     bra        +0x12 /* 0000499C */
  7087. label0000498C:
  7088. 0000498C  3003                     move.w     D0, D3
  7089. 0000498E  48C0                     ext.l      D0
  7090. 00004990  0C80 0000 5052           cmpi.l     D0, 0x5052 /* 'PR' */
  7091. 00004996  6604                     bne        +0x6 /* 0000499C */
  7092. 00004998  2F0A                     move.l     -[A7], A2
  7093. 0000499A  A981                     syscall    DrawDialog
  7094. label0000499C:
  7095. 0000499C  42AD 83D2                clr.l      [A5 - 0x7C2E]
  7096. 000049A0  2F0A                     move.l     -[A7], A2
  7097. 000049A2  A923                     syscall    EndUpdate
  7098. 000049A4  4AAD 83B2                tst.l      [A5 - 0x7C4E]
  7099. 000049A8  671E                     beq        +0x20 /* 000049C8 */
  7100. 000049AA  B5ED 83A2                cmpa.l     A2, [A5 - 0x7C5E]
  7101. 000049AE  6618                     bne        +0x1A /* 000049C8 */
  7102. 000049B0  42AD 83B2                clr.l      [A5 - 0x7C4E]
  7103. 000049B4  2F2D 83AE                move.l     -[A7], [A5 - 0x7C52]
  7104. 000049B8  486D 83A6                pea.l      [A5 - 0x7C5A]
  7105. 000049BC  2F2D 83A2                move.l     -[A7], [A5 - 0x7C5E]
  7106. 000049C0  4EAD E9F0                jsr        [A5 - 0x1610]
  7107. 000049C4  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7108. label000049C8:
  7109. 000049C8  4CDF 0408                movem.l    D3,A2, [A7]+
  7110. 000049CC  4E75                     rts
  7111. fn000049CE:
  7112. 000049CE  48E7 1030                movem.l    -[A7], D3,A2,A3
  7113. 000049D2  266F 0010                movea.l    A3, [A7 + 0x10]
  7114. 000049D6  262F 0014                move.l     D3, [A7 + 0x14]
  7115. 000049DA  302B 006C                move.w     D0, [A3 + 0x6C]
  7116. 000049DE  B06D B416                cmp.w      D0, [A5 - 0x4BEA]
  7117. 000049E2  663C                     bne        +0x3E /* 00004A20 */
  7118. 000049E4  4A83                     tst.l      D3
  7119. 000049E6  6726                     beq        +0x28 /* 00004A0E */
  7120. 000049E8  594F                     subq.w     A7, 4
  7121. 000049EA  206D 1342                movea.l    A0, [A5 + 0x1342 /* export_612 */]
  7122. 000049EE  4E90                     jsr        [A0]
  7123. 000049F0  205F                     movea.l    A0, [A7]+
  7124. 000049F2  2448                     movea.l    A2, A0
  7125. 000049F4  2008                     move.l     D0, A0
  7126. 000049F6  6716                     beq        +0x18 /* 00004A0E */
  7127. 000049F8  302A 006C                move.w     D0, [A2 + 0x6C]
  7128. 000049FC  B06D B416                cmp.w      D0, [A5 - 0x4BEA]
  7129. 00004A00  660C                     bne        +0xE /* 00004A0E */
  7130. 00004A02  2F0A                     move.l     -[A7], A2
  7131. 00004A04  4EAD E848                jsr        [A5 - 0x17B8]
  7132. 00004A08  5300                     subq.b     D0, 1
  7133. 00004A0A  584F                     addq.w     A7, 4
  7134. 00004A0C  6712                     beq        +0x14 /* 00004A20 */
  7135. label00004A0E:
  7136. 00004A0E  2F0B                     move.l     -[A7], A3
  7137. 00004A10  4EAD E7B8                jsr        [A5 - 0x1848]
  7138. 00004A14  2F03                     move.l     -[A7], D3
  7139. 00004A16  2F0B                     move.l     -[A7], A3
  7140. 00004A18  4EAD E7D8                jsr        [A5 - 0x1828]
  7141. 00004A1C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7142. label00004A20:
  7143. 00004A20  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  7144. 00004A24  4E75                     rts
  7145. fn00004A26:
  7146. 00004A26  554F                     subq.w     A7, 2
  7147. 00004A28  3EBC 0001                move.w     [A7], 0x1
  7148. 00004A2C  600A                     bra        +0xC /* 00004A38 */
  7149. label00004A2E:
  7150. 00004A2E  4857                     pea.l      [A7]
  7151. 00004A30  42A7                     clr.l      -[A7]
  7152. 00004A32  4EBA 0016                jsr        [PC + 0x16 /* 00004A4A */]
  7153. 00004A36  504F                     addq.w     A7, 8
  7154. label00004A38:
  7155. 00004A38  4AAD 83CA                tst.l      [A5 - 0x7C36]
  7156. 00004A3C  67F0                     beq        -0xE /* 00004A2E */
  7157. 00004A3E  42AD 83CA                clr.l      [A5 - 0x7C36]
  7158. 00004A42  302D 83C8                move.w     D0, [A5 - 0x7C38]
  7159. 00004A46  544F                     addq.w     A7, 2
  7160. 00004A48  4E75                     rts
  7161. fn00004A4A:
  7162. 00004A4A  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  7163. 00004A4E  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  7164. 00004A52  286F 0024                movea.l    A4, [A7 + 0x24]
  7165. 00004A56  266F 0028                movea.l    A3, [A7 + 0x28]
  7166. 00004A5A  4AAD 83B6                tst.l      [A5 - 0x7C4A]
  7167. 00004A5E  671A                     beq        +0x1C /* 00004A7A */
  7168. 00004A60  594F                     subq.w     A7, 4
  7169. 00004A62  206D 1342                movea.l    A0, [A5 + 0x1342 /* export_612 */]
  7170. 00004A66  4E90                     jsr        [A0]
  7171. 00004A68  205F                     movea.l    A0, [A7]+
  7172. 00004A6A  2448                     movea.l    A2, A0
  7173. 00004A6C  302A 006C                move.w     D0, [A2 + 0x6C]
  7174. 00004A70  B06D B418                cmp.w      D0, [A5 - 0x4BE8]
  7175. 00004A74  6704                     beq        +0x6 /* 00004A7A */
  7176. 00004A76  4EBA FC8E                jsr        [PC - 0x372 /* 00004706 */]
  7177. label00004A7A:
  7178. 00004A7A  4AAD 130A                tst.l      [A5 + 0x130A /* export_605 */]
  7179. 00004A7E  660E                     bne        +0x10 /* 00004A8E */
  7180. 00004A80  203C 0000 8000           move.l     D0, 0x8000
  7181. 00004A86  A122                     syscall    NewHandle, flags=1
  7182. 00004A88  2B48 130A                move.l     [A5 + 0x130A /* export_605 */], A0
  7183. 00004A8C  6014                     bra        +0x16 /* 00004AA2 */
  7184. label00004A8E:
  7185. 00004A8E  206D 130A                movea.l    A0, [A5 + 0x130A /* export_605 */]
  7186. 00004A92  4A90                     tst.l      [A0]
  7187. 00004A94  660C                     bne        +0xE /* 00004AA2 */
  7188. 00004A96  206D 130A                movea.l    A0, [A5 + 0x130A /* export_605 */]
  7189. 00004A9A  203C 0000 8000           move.l     D0, 0x8000
  7190. 00004AA0  A027                     syscall    ReallocateHandle
  7191. label00004AA2:
  7192. 00004AA2  4AAD 130A                tst.l      [A5 + 0x130A /* export_605 */]
  7193. 00004AA6  670E                     beq        +0x10 /* 00004AB6 */
  7194. 00004AA8  206D 130A                movea.l    A0, [A5 + 0x130A /* export_605 */]
  7195. 00004AAC  4A90                     tst.l      [A0]
  7196. 00004AAE  6706                     beq        +0x8 /* 00004AB6 */
  7197. 00004AB0  42AD 8392                clr.l      [A5 - 0x7C6E]
  7198. 00004AB4  6028                     bra        +0x2A /* 00004ADE */
  7199. label00004AB6:
  7200. 00004AB6  4AAD 8392                tst.l      [A5 - 0x7C6E]
  7201. 00004ABA  6622                     bne        +0x24 /* 00004ADE */
  7202. 00004ABC  4267                     clr.w      -[A7]
  7203. 00004ABE  4EBA C934                jsr        [PC - 0x36CC /* 000013F4 */]
  7204. 00004AC2  554F                     subq.w     A7, 2
  7205. 00004AC4  302D 135E                move.w     D0, [A5 + 0x135E]
  7206. 00004AC8  48C0                     ext.l      D0
  7207. 00004ACA  0680 0000 00C9           addi.l     D0, 0xC9
  7208. 00004AD0  3F00                     move.w     -[A7], D0
  7209. 00004AD2  42A7                     clr.l      -[A7]
  7210. 00004AD4  A985                     syscall    Alert
  7211. 00004AD6  301F                     move.w     D0, [A7]+
  7212. 00004AD8  7001                     moveq.l    D0, 0x01
  7213. 00004ADA  2B40 8392                move.l     [A5 - 0x7C6E], D0
  7214. label00004ADE:
  7215. 00004ADE  200C                     move.l     D0, A4
  7216. 00004AE0  670E                     beq        +0x10 /* 00004AF0 */
  7217. 00004AE2  41D4                     lea.l      A0, [A4]
  7218. 00004AE4  43D7                     lea.l      A1, [A7]
  7219. 00004AE6  22D8                     move.l     [A1]+, [A0]+
  7220. 00004AE8  22D8                     move.l     [A1]+, [A0]+
  7221. 00004AEA  22D8                     move.l     [A1]+, [A0]+
  7222. 00004AEC  22D8                     move.l     [A1]+, [A0]+
  7223. 00004AEE  6016                     bra        +0x18 /* 00004B06 */
  7224. label00004AF0:
  7225. 00004AF0  A9B4                     syscall    SystemTask
  7226. 00004AF2  42A7                     clr.l      -[A7]
  7227. 00004AF4  42A7                     clr.l      -[A7]
  7228. 00004AF6  486F 0008                pea.l      [A7 + 0x8]
  7229. 00004AFA  3F3C FFFF                move.w     -[A7], 0xFFFF
  7230. 00004AFE  4EBA 0A0E                jsr        [PC + 0xA0E /* 0000550E */]
  7231. 00004B02  4FEF 000E                lea.l      A7, [A7 + 0xE]
  7232. label00004B06:
  7233. 00004B06  42A7                     clr.l      -[A7]
  7234. 00004B08  42A7                     clr.l      -[A7]
  7235. 00004B0A  4EAD E480                jsr        [A5 - 0x1B80]
  7236. 00004B0E  4AAD 1316                tst.l      [A5 + 0x1316]
  7237. 00004B12  504F                     addq.w     A7, 8
  7238. 00004B14  6648                     bne        +0x4A /* 00004B5E */
  7239. 00004B16  4AAD 1306                tst.l      [A5 + 0x1306]
  7240. 00004B1A  673A                     beq        +0x3C /* 00004B56 */
  7241. 00004B1C  206D 1306                movea.l    A0, [A5 + 0x1306]
  7242. 00004B20  2050                     movea.l    A0, [A0]
  7243. 00004B22  4A68 0026                tst.w      [A0 + 0x26]
  7244. 00004B26  6736                     beq        +0x38 /* 00004B5E */
  7245. 00004B28  95CA                     sub.l      A2, A2
  7246. 00004B2A  206D 1306                movea.l    A0, [A5 + 0x1306]
  7247. 00004B2E  A029                     syscall    HLock
  7248. 00004B30  206D 1306                movea.l    A0, [A5 + 0x1306]
  7249. 00004B34  2450                     movea.l    A2, [A0]
  7250. 00004B36  426A 0026                clr.w      [A2 + 0x26]
  7251. 00004B3A  2F2A 0070                move.l     -[A7], [A2 + 0x70]
  7252. 00004B3E  3F2A 0074                move.w     -[A7], [A2 + 0x74]
  7253. 00004B42  486A 002A                pea.l      [A2 + 0x2A]
  7254. 00004B46  4EBA 0278                jsr        [PC + 0x278 /* 00004DC0 */]
  7255. 00004B4A  206D 1306                movea.l    A0, [A5 + 0x1306]
  7256. 00004B4E  A02A                     syscall    HUnlock
  7257. 00004B50  4FEF 000A                lea.l      A7, [A7 + 0xA]
  7258. 00004B54  6008                     bra        +0xA /* 00004B5E */
  7259. label00004B56:
  7260. 00004B56  4A57                     tst.w      [A7]
  7261. 00004B58  6604                     bne        +0x6 /* 00004B5E */
  7262. 00004B5A  4EBA 0CD4                jsr        [PC + 0xCD4 /* 00005830 */]
  7263. label00004B5E:
  7264. 00004B5E  4AAD 1312                tst.l      [A5 + 0x1312 /* export_606 */]
  7265. 00004B62  6606                     bne        +0x8 /* 00004B6A */
  7266. 00004B64  4AAD 83CE                tst.l      [A5 - 0x7C32]
  7267. 00004B68  6604                     bne        +0x6 /* 00004B6E */
  7268. label00004B6A:
  7269. 00004B6A  4EAD E0C0                jsr        [A5 - 0x1F40]
  7270. label00004B6E:
  7271. 00004B6E  594F                     subq.w     A7, 4
  7272. 00004B70  206D 1342                movea.l    A0, [A5 + 0x1342 /* export_612 */]
  7273. 00004B74  4E90                     jsr        [A0]
  7274. 00004B76  205F                     movea.l    A0, [A7]+
  7275. 00004B78  2448                     movea.l    A2, A0
  7276. 00004B7A  B1ED 83C2                cmpa.l     A0, [A5 - 0x7C3E]
  7277. 00004B7E  6604                     bne        +0x6 /* 00004B84 */
  7278. 00004B80  4A53                     tst.w      [A3]
  7279. 00004B82  6768                     beq        +0x6A /* 00004BEC */
  7280. label00004B84:
  7281. 00004B84  200A                     move.l     D0, A2
  7282. 00004B86  673E                     beq        +0x40 /* 00004BC6 */
  7283. 00004B88  302A 006C                move.w     D0, [A2 + 0x6C]
  7284. 00004B8C  B06D B416                cmp.w      D0, [A5 - 0x4BEA]
  7285. 00004B90  6640                     bne        +0x42 /* 00004BD2 */
  7286. 00004B92  2F0A                     move.l     -[A7], A2
  7287. 00004B94  4EAD E848                jsr        [A5 - 0x17B8]
  7288. 00004B98  5300                     subq.b     D0, 1
  7289. 00004B9A  584F                     addq.w     A7, 4
  7290. 00004B9C  6734                     beq        +0x36 /* 00004BD2 */
  7291. 00004B9E  1F3C 0006                move.b     -[A7], 0x6
  7292. 00004BA2  2F0A                     move.l     -[A7], A2
  7293. 00004BA4  4EAD E818                jsr        [A5 - 0x17E8]
  7294. 00004BA8  3610                     move.w     D3, [A0]
  7295. 00004BAA  3F3C 0001                move.w     -[A7], 0x1
  7296. 00004BAE  1F3C 0008                move.b     -[A7], 0x8
  7297. 00004BB2  3F03                     move.w     -[A7], D3
  7298. 00004BB4  4EAD E708                jsr        [A5 - 0x18F8]
  7299. 00004BB8  584F                     addq.w     A7, 4
  7300. 00004BBA  2F08                     move.l     -[A7], A0
  7301. 00004BBC  4EAD E0E8                jsr        [A5 - 0x1F18]
  7302. 00004BC0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7303. 00004BC4  600C                     bra        +0xE /* 00004BD2 */
  7304. label00004BC6:
  7305. 00004BC6  3F3C 0001                move.w     -[A7], 0x1
  7306. 00004BCA  42A7                     clr.l      -[A7]
  7307. 00004BCC  4EAD E0E8                jsr        [A5 - 0x1F18]
  7308. 00004BD0  5C4F                     addq.w     A7, 6
  7309. label00004BD2:
  7310. 00004BD2  2B4A 83C2                move.l     [A5 - 0x7C3E], A2
  7311. 00004BD6  2F2D 83C2                move.l     -[A7], [A5 - 0x7C3E]
  7312. 00004BDA  4EAD E0A8                jsr        [A5 - 0x1F58]
  7313. 00004BDE  4AAD ADBE                tst.l      [A5 - 0x5242]
  7314. 00004BE2  584F                     addq.w     A7, 4
  7315. 00004BE4  6704                     beq        +0x6 /* 00004BEA */
  7316. 00004BE6  4EAD F750                jsr        [A5 - 0x8B0]
  7317. label00004BEA:
  7318. 00004BEA  4253                     clr.w      [A3]
  7319. label00004BEC:
  7320. 00004BEC  2F2F 000A                move.l     -[A7], [A7 + 0xA]
  7321. 00004BF0  4EBA 07F2                jsr        [PC + 0x7F2 /* 000053E4 */]
  7322. 00004BF4  42AD 839E                clr.l      [A5 - 0x7C62]
  7323. 00004BF8  4AAD 132A                tst.l      [A5 + 0x132A /* export_609 */]
  7324. 00004BFC  584F                     addq.w     A7, 4
  7325. 00004BFE  6710                     beq        +0x12 /* 00004C10 */
  7326. 00004C00  554F                     subq.w     A7, 2
  7327. 00004C02  486F 0002                pea.l      [A7 + 0x2]
  7328. 00004C06  7004                     moveq.l    D0, 0x04
  7329. 00004C08  AA54                     syscall    TextServicesDispatch
  7330. 00004C0A  101F                     move.b     D0, [A7]+
  7331. 00004C0C  6600 01A8                bne        +0x1AA /* 00004DB6 */
  7332. label00004C10:
  7333. 00004C10  554F                     subq.w     A7, 2
  7334. 00004C12  486F 0002                pea.l      [A7 + 0x2]
  7335. 00004C16  A97F                     syscall    IsDialogEvent
  7336. 00004C18  101F                     move.b     D0, [A7]+
  7337. 00004C1A  675A                     beq        +0x5C /* 00004C76 */
  7338. 00004C1C  0C57 000F                cmpi.w     [A7], 0xF
  7339. 00004C20  56C0                     sne        D0
  7340. 00004C22  4400                     neg.b      D0
  7341. 00004C24  4880                     ext.w      D0
  7342. 00004C26  48C0                     ext.l      D0
  7343. 00004C28  2600                     move.l     D3, D0
  7344. 00004C2A  7000                     moveq.l    D0, 0x00
  7345. 00004C2C  3017                     move.w     D0, [A7]
  7346. 00004C2E  5D80                     subq.l     D0, 6
  7347. 00004C30  6706                     beq        +0x8 /* 00004C38 */
  7348. 00004C32  5580                     subq.l     D0, 2
  7349. 00004C34  6702                     beq        +0x4 /* 00004C38 */
  7350. 00004C36  6024                     bra        +0x26 /* 00004C5C */
  7351. label00004C38:
  7352. 00004C38  206F 0002                movea.l    A0, [A7 + 0x2]
  7353. 00004C3C  3028 006C                move.w     D0, [A0 + 0x6C]
  7354. 00004C40  B06D B418                cmp.w      D0, [A5 - 0x4BE8]
  7355. 00004C44  662A                     bne        +0x2C /* 00004C70 */
  7356. 00004C46  3F3C 0001                move.w     -[A7], 0x1
  7357. 00004C4A  486F 0002                pea.l      [A7 + 0x2]
  7358. 00004C4E  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  7359. 00004C52  4EBA DC0C                jsr        [PC - 0x23F4 /* 00002860 */]
  7360. 00004C56  4FEF 000A                lea.l      A7, [A7 + 0xA]
  7361. 00004C5A  6014                     bra        +0x16 /* 00004C70 */
  7362. label00004C5C:
  7363. 00004C5C  3F3C 0001                move.w     -[A7], 0x1
  7364. 00004C60  486F 0002                pea.l      [A7 + 0x2]
  7365. 00004C64  2F2D 83C2                move.l     -[A7], [A5 - 0x7C3E]
  7366. 00004C68  4EBA DBF6                jsr        [PC - 0x240A /* 00002860 */]
  7367. 00004C6C  4FEF 000A                lea.l      A7, [A7 + 0xA]
  7368. label00004C70:
  7369. 00004C70  4A83                     tst.l      D3
  7370. 00004C72  6600 0142                bne        +0x144 /* 00004DB6 */
  7371. label00004C76:
  7372. 00004C76  7000                     moveq.l    D0, 0x00
  7373. 00004C78  3017                     move.w     D0, [A7]
  7374. 00004C7A  4EAD D916                jsr        [A5 - 0x26EA]
  7375. 00004C7E  0138 0000                btst       [0x00000000 /* __m68k_reset_stack__ */], D0
  7376. 00004C82  0000 0000                ori.b      D0, 0x0
  7377. 00004C86  0017 0007                ori.b      [A7], 0x7
  7378. 00004C8A  0000 0000                ori.b      D0, 0x0
  7379. 00004C8E  002C 0000 0001           ori.b      [A4 + 0x1], 0x0
  7380. 00004C94  00FA 0000                ori.?      [PC /* 00004C96 */], 0xFFFFFFFFFFFFFFFF
  7381. 00004C98  0003 0106                ori.b      D3, 0x6
  7382. 00004C9C  0000 0005                ori.b      D0, 0x5
  7383. 00004CA0  00F8 0000                ori.?      [0x00000000 /* __m68k_reset_stack__ */], 0xFFFFFFFFFFFFFFFF
  7384. 00004CA4  0006 002E                ori.b      D6, 0x2E /* '.' */
  7385. 00004CA8  0000 0008                ori.b      D0, 0x8
  7386. 00004CAC  0038 0000 000F           ori.b      [0x0000000F], 0x0
  7387. 00004CB2  0056 0000                ori.w      [A6], 0x0
  7388. 00004CB6  0017 00C6                ori.b      [A7], 0xC6
  7389. 00004CBA  7001                     moveq.l    D0, 0x01
  7390. 00004CBC  2B40 839E                move.l     [A5 - 0x7C62], D0
  7391. 00004CC0  2B6F 000A 839A           move.l     [A5 - 0x7C66], [A7 + 0xA]
  7392. 00004CC6  2F2D 83C2                move.l     -[A7], [A5 - 0x7C3E]
  7393. 00004CCA  4EBA 07F6                jsr        [PC + 0x7F6 /* 000054C2 */]
  7394. 00004CCE  584F                     addq.w     A7, 4
  7395. 00004CD0  6000 00E4                bra        +0xE6 /* 00004DB6 */
  7396. 00004CD4  4EBA 08CE                jsr        [PC + 0x8CE /* 000055A4 */]
  7397. 00004CD8  4857                     pea.l      [A7]
  7398. 00004CDA  4EBA FC6A                jsr        [PC - 0x396 /* 00004946 */]
  7399. 00004CDE  584F                     addq.w     A7, 4
  7400. 00004CE0  6000 00D4                bra        +0xD6 /* 00004DB6 */
  7401. 00004CE4  4EBA 08BE                jsr        [PC + 0x8BE /* 000055A4 */]
  7402. 00004CE8  302F 000E                move.w     D0, [A7 + 0xE]
  7403. 00004CEC  7201                     moveq.l    D1, 0x01
  7404. 00004CEE  C081                     and.l      D0, D1
  7405. 00004CF0  56C0                     sne        D0
  7406. 00004CF2  4400                     neg.b      D0
  7407. 00004CF4  4880                     ext.w      D0
  7408. 00004CF6  48C0                     ext.l      D0
  7409. 00004CF8  2F00                     move.l     -[A7], D0
  7410. 00004CFA  2F2F 0006                move.l     -[A7], [A7 + 0x6]
  7411. 00004CFE  4EBA FCCE                jsr        [PC - 0x332 /* 000049CE */]
  7412. 00004D02  504F                     addq.w     A7, 8
  7413. 00004D04  6000 00B0                bra        +0xB2 /* 00004DB6 */
  7414. 00004D08  202F 0002                move.l     D0, [A7 + 0x2]
  7415. 00004D0C  0280 FF00 0000           andi.l     D0, 0xFF000000
  7416. 00004D12  7218                     moveq.l    D1, 0x18
  7417. 00004D14  E2A8                     lsr        D0, D1
  7418. 00004D16  5380                     subq.l     D0, 1
  7419. 00004D18  6600 009C                bne        +0x9E /* 00004DB6 */
  7420. 00004D1C  7001                     moveq.l    D0, 0x01
  7421. 00004D1E  C0AF 0002                and.l      D0, [A7 + 0x2]
  7422. 00004D22  57C0                     seq        D0
  7423. 00004D24  4400                     neg.b      D0
  7424. 00004D26  4880                     ext.w      D0
  7425. 00004D28  48C0                     ext.l      D0
  7426. 00004D2A  2B40 83CE                move.l     [A5 - 0x7C32], D0
  7427. 00004D2E  4EBA C6BC                jsr        [PC - 0x3944 /* 000013EC */]
  7428. 00004D32  4AAD 83C2                tst.l      [A5 - 0x7C3E]
  7429. 00004D36  6738                     beq        +0x3A /* 00004D70 */
  7430. 00004D38  7001                     moveq.l    D0, 0x01
  7431. 00004D3A  C0AF 0002                and.l      D0, [A7 + 0x2]
  7432. 00004D3E  56C0                     sne        D0
  7433. 00004D40  4400                     neg.b      D0
  7434. 00004D42  4880                     ext.w      D0
  7435. 00004D44  48C0                     ext.l      D0
  7436. 00004D46  2F00                     move.l     -[A7], D0
  7437. 00004D48  2F2D 83C2                move.l     -[A7], [A5 - 0x7C3E]
  7438. 00004D4C  4EBA 0B28                jsr        [PC + 0xB28 /* 00005876 */]
  7439. 00004D50  2448                     movea.l    A2, A0
  7440. 00004D52  2008                     move.l     D0, A0
  7441. 00004D54  504F                     addq.w     A7, 8
  7442. 00004D56  6718                     beq        +0x1A /* 00004D70 */
  7443. 00004D58  7001                     moveq.l    D0, 0x01
  7444. 00004D5A  C0AF 0002                and.l      D0, [A7 + 0x2]
  7445. 00004D5E  56C0                     sne        D0
  7446. 00004D60  4400                     neg.b      D0
  7447. 00004D62  4880                     ext.w      D0
  7448. 00004D64  48C0                     ext.l      D0
  7449. 00004D66  2F00                     move.l     -[A7], D0
  7450. 00004D68  2F0A                     move.l     -[A7], A2
  7451. 00004D6A  4EBA FC62                jsr        [PC - 0x39E /* 000049CE */]
  7452. 00004D6E  504F                     addq.w     A7, 8
  7453. label00004D70:
  7454. 00004D70  42A7                     clr.l      -[A7]
  7455. 00004D72  21DF 0A64                move.l     [0x00000A64 /* CurActivate */], [A7]+
  7456. 00004D76  42A7                     clr.l      -[A7]
  7457. 00004D78  21DF 0A68                move.l     [0x00000A68 /* CurDeactive */], [A7]+
  7458. 00004D7C  6038                     bra        +0x3A /* 00004DB6 */
  7459. 00004D7E  554F                     subq.w     A7, 2
  7460. 00004D80  486F 0002                pea.l      [A7 + 0x2]
  7461. 00004D84  303C 021B                move.w     D0, 0x21B
  7462. 00004D88  A816                     syscall    Pack8
  7463. 00004D8A  301F                     move.w     D0, [A7]+
  7464. 00004D8C  6028                     bra        +0x2A /* 00004DB6 */
  7465. 00004D8E  4857                     pea.l      [A7]
  7466. 00004D90  4EBA 0324                jsr        [PC + 0x324 /* 000050B6 */]
  7467. 00004D94  584F                     addq.w     A7, 4
  7468. 00004D96  601E                     bra        +0x20 /* 00004DB6 */
  7469. 00004D98  082F 0000 000E           btst.b     [A7 + 0xE], 0x0
  7470. 00004D9E  6616                     bne        +0x18 /* 00004DB6 */
  7471. 00004DA0  4857                     pea.l      [A7]
  7472. 00004DA2  594F                     subq.w     A7, 4
  7473. 00004DA4  A924                     syscall    FrontWindow
  7474. 00004DA6  205F                     movea.l    A0, [A7]+
  7475. 00004DA8  2F08                     move.l     -[A7], A0
  7476. 00004DAA  2F2D 83C2                move.l     -[A7], [A5 - 0x7C3E]
  7477. 00004DAE  4EBA 050A                jsr        [PC + 0x50A /* 000052BA */]
  7478. 00004DB2  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7479. label00004DB6:
  7480. 00004DB6  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7481. 00004DBA  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  7482. 00004DBE  4E75                     rts
  7483. fn00004DC0:
  7484. 00004DC0  4FEF FFB4                lea.l      A7, [A7 - 0x4C]
  7485. 00004DC4  4AAD B2D8                tst.l      [A5 - 0x4D28]
  7486. 00004DC8  6670                     bne        +0x72 /* 00004E3A */
  7487. 00004DCA  206F 0050                movea.l    A0, [A7 + 0x50]
  7488. 00004DCE  43EF 0006                lea.l      A1, [A7 + 0x6]
  7489. 00004DD2  7010                     moveq.l    D0, 0x10
  7490. label00004DD4:
  7491. 00004DD4  22D8                     move.l     [A1]+, [A0]+
  7492. 00004DD6  51C8 FFFC                dbf        D0, -0x6 /* 00004DD4 */
  7493. 00004DDA  32D8                     move.w     [A1]+, [A0]+
  7494. 00004DDC  4AAD 1326                tst.l      [A5 + 0x1326]
  7495. 00004DE0  671A                     beq        +0x1C /* 00004DFC */
  7496. 00004DE2  554F                     subq.w     A7, 2
  7497. 00004DE4  486F 0008                pea.l      [A7 + 0x8]
  7498. 00004DE8  1F3C 0001                move.b     -[A7], 0x1
  7499. 00004DEC  486F 000D                pea.l      [A7 + 0xD]
  7500. 00004DF0  486F 0010                pea.l      [A7 + 0x10]
  7501. 00004DF4  700C                     moveq.l    D0, 0x0C
  7502. 00004DF6  A823                     syscall    AliasDispatch
  7503. 00004DF8  301F                     move.w     D0, [A7]+
  7504. 00004DFA  663E                     bne        +0x40 /* 00004E3A */
  7505. label00004DFC:
  7506. 00004DFC  42A7                     clr.l      -[A7]
  7507. 00004DFE  42A7                     clr.l      -[A7]
  7508. 00004E00  4878 0001                push.l     0x1
  7509. 00004E04  42A7                     clr.l      -[A7]
  7510. 00004E06  486F 0016                pea.l      [A7 + 0x16]
  7511. 00004E0A  4EAD E330                jsr        [A5 - 0x1CD0]
  7512. 00004E0E  2F48 0014                move.l     [A7 + 0x14], A0
  7513. 00004E12  2008                     move.l     D0, A0
  7514. 00004E14  4FEF 0014                lea.l      A7, [A7 + 0x14]
  7515. 00004E18  6608                     bne        +0xA /* 00004E22 */
  7516. 00004E1A  0C6F 0002 0054           cmpi.w     [A7 + 0x54], 0x2
  7517. 00004E20  6618                     bne        +0x1A /* 00004E3A */
  7518. label00004E22:
  7519. 00004E22  2F2F 0056                move.l     -[A7], [A7 + 0x56]
  7520. 00004E26  302F 0058                move.w     D0, [A7 + 0x58]
  7521. 00004E2A  48C0                     ext.l      D0
  7522. 00004E2C  2F00                     move.l     -[A7], D0
  7523. 00004E2E  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  7524. 00004E32  4EAD E888                jsr        [A5 - 0x1778]
  7525. 00004E36  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7526. label00004E3A:
  7527. 00004E3A  4FEF 004C                lea.l      A7, [A7 + 0x4C]
  7528. 00004E3E  4E75                     rts
  7529. fn00004E40:
  7530. 00004E40  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  7531. 00004E44  4FEF FDEA                lea.l      A7, [A7 - 0x216]
  7532. 00004E48  286F 022A                movea.l    A4, [A7 + 0x22A]
  7533. 00004E4C  7600                     moveq.l    D3, 0x00
  7534. 00004E4E  302F 0230                move.w     D0, [A7 + 0x230]
  7535. 00004E52  0280 0000 0300           andi.l     D0, 0x300
  7536. 00004E58  0C80 0000 0300           cmpi.l     D0, 0x300
  7537. 00004E5E  670C                     beq        +0xE /* 00004E6C */
  7538. 00004E60  7000                     moveq.l    D0, 0x00
  7539. 00004E62  4FEF 0216                lea.l      A7, [A7 + 0x216]
  7540. 00004E66  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  7541. 00004E6A  4E75                     rts
  7542. label00004E6C:
  7543. 00004E6C  266C 008C                movea.l    A3, [A4 + 0x8C]
  7544. 00004E70  1F7C 0001 0004           move.b     [A7 + 0x4], 0x1
  7545. 00004E76  1F6F 022E 0005           move.b     [A7 + 0x5], [A7 + 0x22E]
  7546. 00004E7C  486F 0004                pea.l      [A7 + 0x4]
  7547. 00004E80  4227                     clr.b      -[A7]
  7548. 00004E82  4EAD D9C4                jsr        [A5 - 0x263C]
  7549. 00004E86  6000 00A2                bra        +0xA4 /* 00004F2A */
  7550. label00004E8A:
  7551. 00004E8A  2F0B                     move.l     -[A7], A3
  7552. 00004E8C  486F 010A                pea.l      [A7 + 0x10A]
  7553. 00004E90  A95E                     syscall    GetControlTitle/GetCTitle
  7554. 00004E92  486F 0106                pea.l      [A7 + 0x106]
  7555. 00004E96  4227                     clr.b      -[A7]
  7556. 00004E98  4EAD D9C4                jsr        [A5 - 0x263C]
  7557. 00004E9C  2453                     movea.l    A2, [A3]
  7558. 00004E9E  4A2A 0010                tst.b      [A2 + 0x10]
  7559. 00004EA2  6700 0084                beq        +0x86 /* 00004F28 */
  7560. 00004EA6  4A2A 0011                tst.b      [A2 + 0x11]
  7561. 00004EAA  667C                     bne        +0x7E /* 00004F28 */
  7562. 00004EAC  4A2F 0106                tst.b      [A7 + 0x106]
  7563. 00004EB0  6776                     beq        +0x78 /* 00004F28 */
  7564. 00004EB2  102F 0107                move.b     D0, [A7 + 0x107]
  7565. 00004EB6  B02F 0005                cmp.b      D0, [A7 + 0x5]
  7566. 00004EBA  666C                     bne        +0x6E /* 00004F28 */
  7567. 00004EBC  426F 0104                clr.w      [A7 + 0x104]
  7568. 00004EC0  2F0B                     move.l     -[A7], A3
  7569. 00004EC2  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  7570. 00004EC6  A95D                     syscall    HiliteControl
  7571. 00004EC8  207C 0000 000A           movea.l    A0, 0xA /* '\n' */
  7572. 00004ECE  43D7                     lea.l      A1, [A7]
  7573. 00004ED0  A03B                     syscall    Delay
  7574. 00004ED2  2280                     move.l     [A1], D0
  7575. 00004ED4  3F7C 0001 0206           move.w     [A7 + 0x206], 0x1
  7576. 00004EDA  594F                     subq.w     A7, 4
  7577. 00004EDC  A975                     syscall    TickCount
  7578. 00004EDE  201F                     move.l     D0, [A7]+
  7579. 00004EE0  2F40 020C                move.l     [A7 + 0x20C], D0
  7580. 00004EE4  2F4C 0208                move.l     [A7 + 0x208], A4
  7581. 00004EE8  302A 000A                move.w     D0, [A2 + 0xA]
  7582. 00004EEC  48C0                     ext.l      D0
  7583. 00004EEE  5480                     addq.l     D0, 2
  7584. 00004EF0  3F40 0212                move.w     [A7 + 0x212], D0
  7585. 00004EF4  302A 0008                move.w     D0, [A2 + 0x8]
  7586. 00004EF8  48C0                     ext.l      D0
  7587. 00004EFA  5480                     addq.l     D0, 2
  7588. 00004EFC  3F40 0210                move.w     [A7 + 0x210], D0
  7589. 00004F00  426F 0214                clr.w      [A7 + 0x214]
  7590. 00004F04  2F0C                     move.l     -[A7], A4
  7591. 00004F06  4EBA C246                jsr        [PC - 0x3DBA /* 0000114E */]
  7592. 00004F0A  486F 0214                pea.l      [A7 + 0x214]
  7593. 00004F0E  A870                     syscall    LocalToGlobal
  7594. 00004F10  4EBA C25E                jsr        [PC - 0x3DA2 /* 00001170 */]
  7595. 00004F14  486F 0108                pea.l      [A7 + 0x108]
  7596. 00004F18  486F 020E                pea.l      [A7 + 0x20E]
  7597. 00004F1C  4EBA FB2C                jsr        [PC - 0x4D4 /* 00004A4A */]
  7598. 00004F20  7601                     moveq.l    D3, 0x01
  7599. 00004F22  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7600. 00004F26  6008                     bra        +0xA /* 00004F30 */
  7601. label00004F28:
  7602. 00004F28  2652                     movea.l    A3, [A2]
  7603. label00004F2A:
  7604. 00004F2A  200B                     move.l     D0, A3
  7605. 00004F2C  6600 FF5C                bne        -0xA2 /* 00004E8A */
  7606. label00004F30:
  7607. 00004F30  3003                     move.w     D0, D3
  7608. 00004F32  4FEF 0216                lea.l      A7, [A7 + 0x216]
  7609. 00004F36  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  7610. 00004F3A  4E75                     rts
  7611. 00004F3C  48E7 1020                movem.l    -[A7], D3,A2
  7612. 00004F40  246F 0014                movea.l    A2, [A7 + 0x14]
  7613. 00004F44  262F 000C                move.l     D3, [A7 + 0xC]
  7614. 00004F48  0C83 6F61 7070           cmpi.l     D3, 0x6F617070 /* 'oapp' */
  7615. 00004F4E  661C                     bne        +0x1E /* 00004F6C */
  7616. 00004F50  42AD 83CE                clr.l      [A5 - 0x7C32]
  7617. 00004F54  4EBA 00B8                jsr        [PC + 0xB8 /* 0000500E */]
  7618. 00004F58  4EBA 09E0                jsr        [PC + 0x9E0 /* 0000593A */]
  7619. 00004F5C  2F0A                     move.l     -[A7], A2
  7620. 00004F5E  4EBA 068A                jsr        [PC + 0x68A /* 000055EA */]
  7621. 00004F62  3F40 001C                move.w     [A7 + 0x1C], D0
  7622. 00004F66  584F                     addq.w     A7, 4
  7623. 00004F68  6000 0098                bra        +0x9A /* 00005002 */
  7624. label00004F6C:
  7625. 00004F6C  0C83 7175 6974           cmpi.l     D3, 0x71756974 /* 'quit' */
  7626. 00004F72  662E                     bne        +0x30 /* 00004FA2 */
  7627. 00004F74  2F0A                     move.l     -[A7], A2
  7628. 00004F76  4EBA 0672                jsr        [PC + 0x672 /* 000055EA */]
  7629. 00004F7A  3600                     move.w     D3, D0
  7630. 00004F7C  584F                     addq.w     A7, 4
  7631. 00004F7E  6706                     beq        +0x8 /* 00004F86 */
  7632. 00004F80  3F43 0018                move.w     [A7 + 0x18], D3
  7633. 00004F84  607C                     bra        +0x7E /* 00005002 */
  7634. label00004F86:
  7635. 00004F86  4EBA 0638                jsr        [PC + 0x638 /* 000055C0 */]
  7636. 00004F8A  4A80                     tst.l      D0
  7637. 00004F8C  6708                     beq        +0xA /* 00004F96 */
  7638. 00004F8E  3F7C FF80 0018           move.w     [A7 + 0x18], 0xFF80
  7639. 00004F94  606C                     bra        +0x6E /* 00005002 */
  7640. label00004F96:
  7641. 00004F96  4267                     clr.w      -[A7]
  7642. 00004F98  4EBA F858                jsr        [PC - 0x7A8 /* 000047F2 */]
  7643. 00004F9C  426F 0018                clr.w      [A7 + 0x18]
  7644. 00004FA0  6060                     bra        +0x62 /* 00005002 */
  7645. label00004FA2:
  7646. 00004FA2  0C83 6F64 6F63           cmpi.l     D3, 0x6F646F63 /* 'odoc' */
  7647. 00004FA8  6708                     beq        +0xA /* 00004FB2 */
  7648. 00004FAA  0C83 7064 6F63           cmpi.l     D3, 0x70646F63 /* 'pdoc' */
  7649. 00004FB0  662E                     bne        +0x30 /* 00004FE0 */
  7650. label00004FB2:
  7651. 00004FB2  42AD 83CE                clr.l      [A5 - 0x7C32]
  7652. 00004FB6  4EBA 0608                jsr        [PC + 0x608 /* 000055C0 */]
  7653. 00004FBA  4A80                     tst.l      D0
  7654. 00004FBC  661A                     bne        +0x1C /* 00004FD8 */
  7655. 00004FBE  0C83 7064 6F63           cmpi.l     D3, 0x70646F63 /* 'pdoc' */
  7656. 00004FC4  57C0                     seq        D0
  7657. 00004FC6  4400                     neg.b      D0
  7658. 00004FC8  4880                     ext.w      D0
  7659. 00004FCA  48C0                     ext.l      D0
  7660. 00004FCC  2F00                     move.l     -[A7], D0
  7661. 00004FCE  2F0A                     move.l     -[A7], A2
  7662. 00004FD0  4EBA 0662                jsr        [PC + 0x662 /* 00005634 */]
  7663. 00004FD4  504F                     addq.w     A7, 8
  7664. 00004FD6  6002                     bra        +0x4 /* 00004FDA */
  7665. label00004FD8:
  7666. 00004FD8  7080                     moveq.l    D0, 0xFFFFFF80
  7667. label00004FDA:
  7668. 00004FDA  3F40 0018                move.w     [A7 + 0x18], D0
  7669. 00004FDE  6022                     bra        +0x24 /* 00005002 */
  7670. label00004FE0:
  7671. 00004FE0  0C83 414C 5448           cmpi.l     D3, 0x414C5448 /* 'ALTH' */
  7672. 00004FE6  661A                     bne        +0x1C /* 00005002 */
  7673. 00004FE8  4EBA 05D6                jsr        [PC + 0x5D6 /* 000055C0 */]
  7674. 00004FEC  4A80                     tst.l      D0
  7675. 00004FEE  660A                     bne        +0xC /* 00004FFA */
  7676. 00004FF0  2F0A                     move.l     -[A7], A2
  7677. 00004FF2  4EBA 0766                jsr        [PC + 0x766 /* 0000575A */]
  7678. 00004FF6  584F                     addq.w     A7, 4
  7679. 00004FF8  6002                     bra        +0x4 /* 00004FFC */
  7680. label00004FFA:
  7681. 00004FFA  7080                     moveq.l    D0, 0xFFFFFF80
  7682. label00004FFC:
  7683. 00004FFC  3F40 0018                move.w     [A7 + 0x18], D0
  7684. 00005000  4E71                     nop
  7685. label00005002:
  7686. 00005002  4CDF 0408                movem.l    D3,A2, [A7]+
  7687. 00005006  205F                     movea.l    A0, [A7]+
  7688. 00005008  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7689. 0000500C  4ED0                     jmp        [A0]
  7690. fn0000500E:
  7691. 0000500E  4FEF FF68                lea.l      A7, [A7 - 0x98]
  7692. 00005012  554F                     subq.w     A7, 2
  7693. 00005014  2F3C 5354 5254           move.l     -[A7], 0x53545254 /* 'STRT' */
  7694. 0000501A  A80D                     syscall    Count1Resources
  7695. 0000501C  301F                     move.w     D0, [A7]+
  7696. 0000501E  6700 0090                beq        +0x92 /* 000050B0 */
  7697. 00005022  41ED 8342                lea.l      A0, [A5 - 0x7CBE]
  7698. 00005026  43EF 0048                lea.l      A1, [A7 + 0x48]
  7699. 0000502A  7013                     moveq.l    D0, 0x13
  7700. label0000502C:
  7701. 0000502C  22D8                     move.l     [A1]+, [A0]+
  7702. 0000502E  51C8 FFFC                dbf        D0, -0x6 /* 0000502C */
  7703. 00005032  3F6D 8A28 0002           move.w     [A7 + 0x2], [A5 - 0x75D8]
  7704. 00005038  2F6D 8A22 0004           move.l     [A7 + 0x4], [A5 - 0x75DE]
  7705. 0000503E  41EF 0002                lea.l      A0, [A7 + 0x2]
  7706. 00005042  5C88                     addq.l     A0, 6
  7707. 00005044  2F48 005A                move.l     [A7 + 0x5A], A0
  7708. label00005048:
  7709. 00005048  3F6D 8A28 005E           move.w     [A7 + 0x5E], [A5 - 0x75D8]
  7710. 0000504E  2F6D 8A22 0078           move.l     [A7 + 0x78], [A5 - 0x75DE]
  7711. 00005054  526F 0064                addq.w     [A7 + 0x64], 1
  7712. 00005058  41EF 0048                lea.l      A0, [A7 + 0x48]
  7713. 0000505C  A20C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
  7714. 0000505E  4A40                     tst.w      D0
  7715. 00005060  664E                     bne        +0x50 /* 000050B0 */
  7716. 00005062  0CAF 414C 5448 0068      cmpi.l     [A7 + 0x68], 0x414C5448 /* 'ALTH' */
  7717. 0000506A  670A                     beq        +0xC /* 00005076 */
  7718. 0000506C  0CAF 414C 5456 0068      cmpi.l     [A7 + 0x68], 0x414C5456 /* 'ALTV' */
  7719. 00005074  66D2                     bne        -0x2C /* 00005048 */
  7720. label00005076:
  7721. 00005076  4AAD 1326                tst.l      [A5 + 0x1326]
  7722. 0000507A  671A                     beq        +0x1C /* 00005096 */
  7723. 0000507C  554F                     subq.w     A7, 2
  7724. 0000507E  486F 0004                pea.l      [A7 + 0x4]
  7725. 00005082  1F3C 0001                move.b     -[A7], 0x1
  7726. 00005086  486F 0009                pea.l      [A7 + 0x9]
  7727. 0000508A  486F 000C                pea.l      [A7 + 0xC]
  7728. 0000508E  700C                     moveq.l    D0, 0x0C
  7729. 00005090  A823                     syscall    AliasDispatch
  7730. 00005092  301F                     move.w     D0, [A7]+
  7731. 00005094  66B2                     bne        -0x4C /* 00005048 */
  7732. label00005096:
  7733. 00005096  42A7                     clr.l      -[A7]
  7734. 00005098  42A7                     clr.l      -[A7]
  7735. 0000509A  4878 0001                push.l     0x1
  7736. 0000509E  4878 0001                push.l     0x1
  7737. 000050A2  486F 0012                pea.l      [A7 + 0x12]
  7738. 000050A6  4EAD E330                jsr        [A5 - 0x1CD0]
  7739. 000050AA  4FEF 00AC                lea.l      A7, [A7 + 0xAC]
  7740. 000050AE  4E75                     rts
  7741. label000050B0:
  7742. 000050B0  4FEF 0098                lea.l      A7, [A7 + 0x98]
  7743. 000050B4  4E75                     rts
  7744. fn000050B6:
  7745. 000050B6  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  7746. 000050BA  4FEF FFF4                lea.l      A7, [A7 - 0xC]
  7747. 000050BE  266F 0024                movea.l    A3, [A7 + 0x24]
  7748. 000050C2  594F                     subq.w     A7, 4
  7749. 000050C4  206D 1342                movea.l    A0, [A5 + 0x1342 /* export_612 */]
  7750. 000050C8  4E90                     jsr        [A0]
  7751. 000050CA  205F                     movea.l    A0, [A7]+
  7752. 000050CC  2448                     movea.l    A2, A0
  7753. 000050CE  2F48 0008                move.l     [A7 + 0x8], A0
  7754. 000050D2  2008                     move.l     D0, A0
  7755. 000050D4  6732                     beq        +0x34 /* 00005108 */
  7756. 000050D6  302A 006C                move.w     D0, [A2 + 0x6C]
  7757. 000050DA  B06D B418                cmp.w      D0, [A5 - 0x4BE8]
  7758. 000050DE  57C0                     seq        D0
  7759. 000050E0  4400                     neg.b      D0
  7760. 000050E2  4880                     ext.w      D0
  7761. 000050E4  48C0                     ext.l      D0
  7762. 000050E6  2800                     move.l     D4, D0
  7763. 000050E8  302A 006C                move.w     D0, [A2 + 0x6C]
  7764. 000050EC  B06D B416                cmp.w      D0, [A5 - 0x4BEA]
  7765. 000050F0  660C                     bne        +0xE /* 000050FE */
  7766. 000050F2  2F0A                     move.l     -[A7], A2
  7767. 000050F4  4EAD E848                jsr        [A5 - 0x17B8]
  7768. 000050F8  5300                     subq.b     D0, 1
  7769. 000050FA  584F                     addq.w     A7, 4
  7770. 000050FC  6704                     beq        +0x6 /* 00005102 */
  7771. label000050FE:
  7772. 000050FE  7000                     moveq.l    D0, 0x00
  7773. 00005100  6002                     bra        +0x4 /* 00005104 */
  7774. label00005102:
  7775. 00005102  7001                     moveq.l    D0, 0x01
  7776. label00005104:
  7777. 00005104  2600                     move.l     D3, D0
  7778. 00005106  6004                     bra        +0x6 /* 0000510C */
  7779. label00005108:
  7780. 00005108  7600                     moveq.l    D3, 0x00
  7781. 0000510A  2803                     move.l     D4, D3
  7782. label0000510C:
  7783. 0000510C  554F                     subq.w     A7, 2
  7784. 0000510E  2F2B 000A                move.l     -[A7], [A3 + 0xA]
  7785. 00005112  486F 000E                pea.l      [A7 + 0xE]
  7786. 00005116  A92C                     syscall    FindWindow
  7787. 00005118  301F                     move.w     D0, [A7]+
  7788. 0000511A  3A00                     move.w     D5, D0
  7789. 0000511C  48C0                     ext.l      D0
  7790. 0000511E  0C80 0000 0008           cmpi.l     D0, 0x8
  7791. 00005124  6200 018A                bhi        +0x18C /* 000052B0 */
  7792. 00005128  D040                     add.w      D0, D0
  7793. 0000512A  303B 0006                move.w     D0, [PC + D0.w + 0x6]
  7794. 0000512E  4EFB 0002                jmp        [PC + D0.w + 0x2]
  7795. 00005132  017E                     bchg       <<invalid special address>>, D0
  7796. 00005134  0012 0048                ori.b      [A2], 0x48 /* 'H' */
  7797. 00005138  00EC 0054                ori.?      [A4 + 0x54], 0xFFFFFFFFFFFFFFFF
  7798. 0000513C  0132 00B8                btst       [A2 + D0.w - 0x72], D0
  7799. 00005140  0154                     bchg       [A4], D0
  7800. 00005142  0154                     bchg       [A4], D0
  7801. 00005144  4267                     clr.w      -[A7]
  7802. 00005146  4EBA C2AC                jsr        [PC - 0x3D54 /* 000013F4 */]
  7803. 0000514A  2F0A                     move.l     -[A7], A2
  7804. 0000514C  4EAD E0A8                jsr        [A5 - 0x1F58]
  7805. 00005150  3F2B 000E                move.w     -[A7], [A3 + 0xE]
  7806. 00005154  594F                     subq.w     A7, 4
  7807. 00005156  2F2B 000A                move.l     -[A7], [A3 + 0xA]
  7808. 0000515A  A93D                     syscall    MenuSelect
  7809. 0000515C  201F                     move.l     D0, [A7]+
  7810. 0000515E  2F00                     move.l     -[A7], D0
  7811. 00005160  2F0A                     move.l     -[A7], A2
  7812. 00005162  42A7                     clr.l      -[A7]
  7813. 00005164  4EAD E108                jsr        [A5 - 0x1EF8]
  7814. 00005168  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7815. 0000516C  2F00                     move.l     -[A7], D0
  7816. 0000516E  4EAD E338                jsr        [A5 - 0x1CC8]
  7817. 00005172  4FEF 000A                lea.l      A7, [A7 + 0xA]
  7818. 00005176  6000 0138                bra        +0x13A /* 000052B0 */
  7819. 0000517A  2F0B                     move.l     -[A7], A3
  7820. 0000517C  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  7821. 00005180  A9B3                     syscall    SystemClick
  7822. 00005182  6000 012C                bra        +0x12E /* 000052B0 */
  7823. 00005186  594F                     subq.w     A7, 4
  7824. 00005188  2EB8 09EE                move.l     [A7], [0x000009EE /* GrayRgn */]
  7825. 0000518C  205F                     movea.l    A0, [A7]+
  7826. 0000518E  2050                     movea.l    A0, [A0]
  7827. 00005190  2EA8 0002                move.l     [A7], [A0 + 0x2]
  7828. 00005194  2F68 0006 0004           move.l     [A7 + 0x4], [A0 + 0x6]
  7829. 0000519A  4A83                     tst.l      D3
  7830. 0000519C  671C                     beq        +0x1E /* 000051BA */
  7831. 0000519E  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  7832. 000051A2  4EAD E990                jsr        [A5 - 0x1670]
  7833. 000051A6  B5EF 000C                cmpa.l     A2, [A7 + 0xC]
  7834. 000051AA  584F                     addq.w     A7, 4
  7835. 000051AC  6600 0102                bne        +0x104 /* 000052B0 */
  7836. 000051B0  2F0A                     move.l     -[A7], A2
  7837. 000051B2  4EBA F5C4                jsr        [PC - 0xA3C /* 00004778 */]
  7838. 000051B6  6000 00F8                bra        +0xFA /* 000052B0 */
  7839. label000051BA:
  7840. 000051BA  4A84                     tst.l      D4
  7841. 000051BC  6710                     beq        +0x12 /* 000051CE */
  7842. 000051BE  B5EF 0008                cmpa.l     A2, [A7 + 0x8]
  7843. 000051C2  670A                     beq        +0xC /* 000051CE */
  7844. 000051C4  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  7845. 000051C8  A9C8                     syscall    SysBeep
  7846. 000051CA  6000 00E4                bra        +0xE6 /* 000052B0 */
  7847. label000051CE:
  7848. 000051CE  4267                     clr.w      -[A7]
  7849. 000051D0  4EBA C222                jsr        [PC - 0x3DDE /* 000013F4 */]
  7850. 000051D4  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  7851. 000051D8  2F2B 000A                move.l     -[A7], [A3 + 0xA]
  7852. 000051DC  486F 0008                pea.l      [A7 + 0x8]
  7853. 000051E0  206D 1352                movea.l    A0, [A5 + 0x1352 /* export_614 */]
  7854. 000051E4  4E90                     jsr        [A0]
  7855. 000051E6  6000 00C8                bra        +0xCA /* 000052B0 */
  7856. 000051EA  4A83                     tst.l      D3
  7857. 000051EC  670A                     beq        +0xC /* 000051F8 */
  7858. 000051EE  2F0A                     move.l     -[A7], A2
  7859. 000051F0  4EBA F586                jsr        [PC - 0xA7A /* 00004778 */]
  7860. 000051F4  6000 00BA                bra        +0xBC /* 000052B0 */
  7861. label000051F8:
  7862. 000051F8  4267                     clr.w      -[A7]
  7863. 000051FA  4EBA C1F8                jsr        [PC - 0x3E08 /* 000013F4 */]
  7864. 000051FE  554F                     subq.w     A7, 2
  7865. 00005200  2F2F 000A                move.l     -[A7], [A7 + 0xA]
  7866. 00005204  2F2B 000A                move.l     -[A7], [A3 + 0xA]
  7867. 00005208  A91E                     syscall    TrackGoAway
  7868. 0000520A  101F                     move.b     D0, [A7]+
  7869. 0000520C  6700 00A2                beq        +0xA4 /* 000052B0 */
  7870. 00005210  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  7871. 00005214  4EAD E780                jsr        [A5 - 0x1880]
  7872. 00005218  584F                     addq.w     A7, 4
  7873. 0000521A  6000 0094                bra        +0x96 /* 000052B0 */
  7874. 0000521E  4A83                     tst.l      D3
  7875. 00005220  661C                     bne        +0x1E /* 0000523E */
  7876. 00005222  B5EF 0008                cmpa.l     A2, [A7 + 0x8]
  7877. 00005226  6716                     beq        +0x18 /* 0000523E */
  7878. 00005228  4A84                     tst.l      D4
  7879. 0000522A  6708                     beq        +0xA /* 00005234 */
  7880. 0000522C  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  7881. 00005230  A9C8                     syscall    SysBeep
  7882. 00005232  607C                     bra        +0x7E /* 000052B0 */
  7883. label00005234:
  7884. 00005234  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  7885. 00005238  206D 133A                movea.l    A0, [A5 + 0x133A /* export_611 */]
  7886. 0000523C  4E90                     jsr        [A0]
  7887. label0000523E:
  7888. 0000523E  4A84                     tst.l      D4
  7889. 00005240  666E                     bne        +0x70 /* 000052B0 */
  7890. 00005242  4A83                     tst.l      D3
  7891. 00005244  6710                     beq        +0x12 /* 00005256 */
  7892. 00005246  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  7893. 0000524A  4EAD E990                jsr        [A5 - 0x1670]
  7894. 0000524E  B5EF 000C                cmpa.l     A2, [A7 + 0xC]
  7895. 00005252  584F                     addq.w     A7, 4
  7896. 00005254  665A                     bne        +0x5C /* 000052B0 */
  7897. label00005256:
  7898. 00005256  2F0B                     move.l     -[A7], A3
  7899. 00005258  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  7900. 0000525C  4EAD E7C0                jsr        [A5 - 0x1840]
  7901. 00005260  504F                     addq.w     A7, 8
  7902. 00005262  604C                     bra        +0x4E /* 000052B0 */
  7903. 00005264  4A83                     tst.l      D3
  7904. 00005266  6708                     beq        +0xA /* 00005270 */
  7905. 00005268  2F0A                     move.l     -[A7], A2
  7906. 0000526A  4EBA F50C                jsr        [PC - 0xAF4 /* 00004778 */]
  7907. 0000526E  6040                     bra        +0x42 /* 000052B0 */
  7908. label00005270:
  7909. 00005270  4267                     clr.w      -[A7]
  7910. 00005272  4EBA C180                jsr        [PC - 0x3E80 /* 000013F4 */]
  7911. 00005276  2F2B 000A                move.l     -[A7], [A3 + 0xA]
  7912. 0000527A  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  7913. 0000527E  4EAD E7E8                jsr        [A5 - 0x1818]
  7914. 00005282  504F                     addq.w     A7, 8
  7915. 00005284  602A                     bra        +0x2C /* 000052B0 */
  7916. 00005286  4A83                     tst.l      D3
  7917. 00005288  6708                     beq        +0xA /* 00005292 */
  7918. 0000528A  2F0A                     move.l     -[A7], A2
  7919. 0000528C  4EBA F4EA                jsr        [PC - 0xB16 /* 00004778 */]
  7920. 00005290  601E                     bra        +0x20 /* 000052B0 */
  7921. label00005292:
  7922. 00005292  554F                     subq.w     A7, 2
  7923. 00005294  2F2F 000A                move.l     -[A7], [A7 + 0xA]
  7924. 00005298  2F2B 000A                move.l     -[A7], [A3 + 0xA]
  7925. 0000529C  3F05                     move.w     -[A7], D5
  7926. 0000529E  A83B                     syscall    TrackBox
  7927. 000052A0  101F                     move.b     D0, [A7]+
  7928. 000052A2  670C                     beq        +0xE /* 000052B0 */
  7929. 000052A4  3F05                     move.w     -[A7], D5
  7930. 000052A6  2F2F 000A                move.l     -[A7], [A7 + 0xA]
  7931. 000052AA  4EAD E7F0                jsr        [A5 - 0x1810]
  7932. 000052AE  5C4F                     addq.w     A7, 6
  7933. label000052B0:
  7934. 000052B0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7935. 000052B4  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  7936. 000052B8  4E75                     rts
  7937. fn000052BA:
  7938. 000052BA  48E7 1838                movem.l    -[A7], D3,D4,A2,A3,A4
  7939. 000052BE  286F 0018                movea.l    A4, [A7 + 0x18]
  7940. 000052C2  266F 001C                movea.l    A3, [A7 + 0x1C]
  7941. 000052C6  246F 0020                movea.l    A2, [A7 + 0x20]
  7942. 000052CA  262A 0002                move.l     D3, [A2 + 0x2]
  7943. 000052CE  0283 0000 00FF           andi.l     D3, 0xFF
  7944. 000052D4  4AAD 8396                tst.l      [A5 - 0x7C6A]
  7945. 000052D8  6704                     beq        +0x6 /* 000052DE */
  7946. 000052DA  266D 8396                movea.l    A3, [A5 - 0x7C6A]
  7947. label000052DE:
  7948. 000052DE  302A 000E                move.w     D0, [A2 + 0xE]
  7949. 000052E2  0280 0000 0100           andi.l     D0, 0x100
  7950. 000052E8  6700 00C8                beq        +0xCA /* 000053B2 */
  7951. 000052EC  2F0C                     move.l     -[A7], A4
  7952. 000052EE  4EAD E0A8                jsr        [A5 - 0x1F58]
  7953. 000052F2  302C 006C                move.w     D0, [A4 + 0x6C]
  7954. 000052F6  B06D B416                cmp.w      D0, [A5 - 0x4BEA]
  7955. 000052FA  584F                     addq.w     A7, 4
  7956. 000052FC  6612                     bne        +0x14 /* 00005310 */
  7957. 000052FE  0C03 0020                cmpi.b     D3, 0x20 /* ' ' */
  7958. 00005302  660C                     bne        +0xE /* 00005310 */
  7959. 00005304  1F3C 0002                move.b     -[A7], 0x2
  7960. 00005308  42A7                     clr.l      -[A7]
  7961. 0000530A  4EAD E0D0                jsr        [A5 - 0x1F30]
  7962. 0000530E  5C4F                     addq.w     A7, 6
  7963. label00005310:
  7964. 00005310  594F                     subq.w     A7, 4
  7965. 00005312  1003                     move.b     D0, D3
  7966. 00005314  4880                     ext.w      D0
  7967. 00005316  3F00                     move.w     -[A7], D0
  7968. 00005318  A93E                     syscall    MenuKey
  7969. 0000531A  201F                     move.l     D0, [A7]+
  7970. 0000531C  2F00                     move.l     -[A7], D0
  7971. 0000531E  2F0C                     move.l     -[A7], A4
  7972. 00005320  42A7                     clr.l      -[A7]
  7973. 00005322  4EAD E108                jsr        [A5 - 0x1EF8]
  7974. 00005326  2800                     move.l     D4, D0
  7975. 00005328  4EBA B298                jsr        [PC - 0x4D68 /* 000005C2 */]
  7976. 0000532C  4A80                     tst.l      D0
  7977. 0000532E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7978. 00005332  671C                     beq        +0x1E /* 00005350 */
  7979. 00005334  2004                     move.l     D0, D4
  7980. 00005336  7210                     moveq.l    D1, 0x10
  7981. 00005338  E2A0                     asr        D0, D1
  7982. 0000533A  48C0                     ext.l      D0
  7983. 0000533C  322D 135E                move.w     D1, [A5 + 0x135E]
  7984. 00005340  48C1                     ext.l      D1
  7985. 00005342  5481                     addq.l     D1, 2
  7986. 00005344  B280                     cmp.l      D1, D0
  7987. 00005346  6606                     bne        +0x8 /* 0000534E */
  7988. 00005348  0C44 0008                cmpi.w     D4, 0x8
  7989. 0000534C  6702                     beq        +0x4 /* 00005350 */
  7990. label0000534E:
  7991. 0000534E  7800                     moveq.l    D4, 0x00
  7992. label00005350:
  7993. 00005350  4A84                     tst.l      D4
  7994. 00005352  670E                     beq        +0x10 /* 00005362 */
  7995. 00005354  3F2A 000E                move.w     -[A7], [A2 + 0xE]
  7996. 00005358  2F04                     move.l     -[A7], D4
  7997. 0000535A  4EAD E338                jsr        [A5 - 0x1CC8]
  7998. 0000535E  5C4F                     addq.w     A7, 6
  7999. 00005360  607C                     bra        +0x7E /* 000053DE */
  8000. label00005362:
  8001. 00005362  200B                     move.l     D0, A3
  8002. 00005364  6778                     beq        +0x7A /* 000053DE */
  8003. 00005366  302B 006C                move.w     D0, [A3 + 0x6C]
  8004. 0000536A  B06D B416                cmp.w      D0, [A5 - 0x4BEA]
  8005. 0000536E  662C                     bne        +0x2E /* 0000539C */
  8006. 00005370  3F2A 000E                move.w     -[A7], [A2 + 0xE]
  8007. 00005374  1F03                     move.b     -[A7], D3
  8008. 00005376  202A 0002                move.l     D0, [A2 + 0x2]
  8009. 0000537A  0280 0000 FF00           andi.l     D0, 0xFF00
  8010. 00005380  E088                     lsr        D0, 8
  8011. 00005382  1F00                     move.b     -[A7], D0
  8012. 00005384  2F0B                     move.l     -[A7], A3
  8013. 00005386  4EAD E800                jsr        [A5 - 0x1800]
  8014. 0000538A  4A80                     tst.l      D0
  8015. 0000538C  57C0                     seq        D0
  8016. 0000538E  4400                     neg.b      D0
  8017. 00005390  4880                     ext.w      D0
  8018. 00005392  48C0                     ext.l      D0
  8019. 00005394  2800                     move.l     D4, D0
  8020. 00005396  4FEF 000A                lea.l      A7, [A7 + 0xA]
  8021. 0000539A  6002                     bra        +0x4 /* 0000539E */
  8022. label0000539C:
  8023. 0000539C  7801                     moveq.l    D4, 0x01
  8024. label0000539E:
  8025. 0000539E  4A84                     tst.l      D4
  8026. 000053A0  673C                     beq        +0x3E /* 000053DE */
  8027. 000053A2  3F2A 000E                move.w     -[A7], [A2 + 0xE]
  8028. 000053A6  1F03                     move.b     -[A7], D3
  8029. 000053A8  2F0B                     move.l     -[A7], A3
  8030. 000053AA  4EBA FA94                jsr        [PC - 0x56C /* 00004E40 */]
  8031. 000053AE  504F                     addq.w     A7, 8
  8032. 000053B0  602C                     bra        +0x2E /* 000053DE */
  8033. label000053B2:
  8034. 000053B2  200B                     move.l     D0, A3
  8035. 000053B4  6728                     beq        +0x2A /* 000053DE */
  8036. 000053B6  302B 006C                move.w     D0, [A3 + 0x6C]
  8037. 000053BA  B06D B416                cmp.w      D0, [A5 - 0x4BEA]
  8038. 000053BE  661E                     bne        +0x20 /* 000053DE */
  8039. 000053C0  3F2A 000E                move.w     -[A7], [A2 + 0xE]
  8040. 000053C4  1F03                     move.b     -[A7], D3
  8041. 000053C6  202A 0002                move.l     D0, [A2 + 0x2]
  8042. 000053CA  0280 0000 FF00           andi.l     D0, 0xFF00
  8043. 000053D0  E088                     lsr        D0, 8
  8044. 000053D2  1F00                     move.b     -[A7], D0
  8045. 000053D4  2F0B                     move.l     -[A7], A3
  8046. 000053D6  4EAD E7F8                jsr        [A5 - 0x1808]
  8047. 000053DA  4FEF 000A                lea.l      A7, [A7 + 0xA]
  8048. label000053DE:
  8049. 000053DE  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  8050. 000053E2  4E75                     rts
  8051. fn000053E4:
  8052. 000053E4  48E7 1020                movem.l    -[A7], D3,A2
  8053. 000053E8  594F                     subq.w     A7, 4
  8054. 000053EA  4AAD 83CE                tst.l      [A5 - 0x7C32]
  8055. 000053EE  6600 00CA                bne        +0xCC /* 000054BA */
  8056. 000053F2  4AAD 839E                tst.l      [A5 - 0x7C62]
  8057. 000053F6  6712                     beq        +0x14 /* 0000540A */
  8058. 000053F8  554F                     subq.w     A7, 2
  8059. 000053FA  2F2D 839A                move.l     -[A7], [A5 - 0x7C66]
  8060. 000053FE  2F2F 0016                move.l     -[A7], [A7 + 0x16]
  8061. 00005402  A881                     syscall    EqualPt
  8062. 00005404  101F                     move.b     D0, [A7]+
  8063. 00005406  6600 00B2                bne        +0xB4 /* 000054BA */
  8064. label0000540A:
  8065. 0000540A  4AAD 132A                tst.l      [A5 + 0x132A /* export_609 */]
  8066. 0000540E  671A                     beq        +0x1C /* 0000542A */
  8067. 00005410  554F                     subq.w     A7, 2
  8068. 00005412  2F2F 0012                move.l     -[A7], [A7 + 0x12]
  8069. 00005416  7006                     moveq.l    D0, 0x06
  8070. 00005418  AA54                     syscall    TextServicesDispatch
  8071. 0000541A  101F                     move.b     D0, [A7]+
  8072. 0000541C  670C                     beq        +0xE /* 0000542A */
  8073. 0000541E  4EBA BFCC                jsr        [PC - 0x4034 /* 000013EC */]
  8074. 00005422  584F                     addq.w     A7, 4
  8075. 00005424  4CDF 0408                movem.l    D3,A2, [A7]+
  8076. 00005428  4E75                     rts
  8077. label0000542A:
  8078. 0000542A  554F                     subq.w     A7, 2
  8079. 0000542C  2F2F 0012                move.l     -[A7], [A7 + 0x12]
  8080. 00005430  486F 0006                pea.l      [A7 + 0x6]
  8081. 00005434  A92C                     syscall    FindWindow
  8082. 00005436  301F                     move.w     D0, [A7]+
  8083. 00005438  5740                     subq.w     D0, 3
  8084. 0000543A  6678                     bne        +0x7A /* 000054B4 */
  8085. 0000543C  594F                     subq.w     A7, 4
  8086. 0000543E  A924                     syscall    FrontWindow
  8087. 00005440  205F                     movea.l    A0, [A7]+
  8088. 00005442  2448                     movea.l    A2, A0
  8089. 00005444  362A 006C                move.w     D3, [A2 + 0x6C]
  8090. 00005448  B5D7                     cmpa.l     A2, [A7]
  8091. 0000544A  6706                     beq        +0x8 /* 00005452 */
  8092. 0000544C  B66D B416                cmp.w      D3, [A5 - 0x4BEA]
  8093. 00005450  6662                     bne        +0x64 /* 000054B4 */
  8094. label00005452:
  8095. 00005452  2F17                     move.l     -[A7], [A7]
  8096. 00005454  4EBA BCF8                jsr        [PC - 0x4308 /* 0000114E */]
  8097. 00005458  486F 0014                pea.l      [A7 + 0x14]
  8098. 0000545C  A871                     syscall    GlobalToLocal
  8099. 0000545E  4EBA BD10                jsr        [PC - 0x42F0 /* 00001170 */]
  8100. 00005462  B66D B416                cmp.w      D3, [A5 - 0x4BEA]
  8101. 00005466  584F                     addq.w     A7, 4
  8102. 00005468  662E                     bne        +0x30 /* 00005498 */
  8103. 0000546A  B5D7                     cmpa.l     A2, [A7]
  8104. 0000546C  670C                     beq        +0xE /* 0000547A */
  8105. 0000546E  2F0A                     move.l     -[A7], A2
  8106. 00005470  4EAD E848                jsr        [A5 - 0x17B8]
  8107. 00005474  5300                     subq.b     D0, 1
  8108. 00005476  584F                     addq.w     A7, 4
  8109. 00005478  6710                     beq        +0x12 /* 0000548A */
  8110. label0000547A:
  8111. 0000547A  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  8112. 0000547E  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  8113. 00005482  4EAD E808                jsr        [A5 - 0x17F8]
  8114. 00005486  504F                     addq.w     A7, 8
  8115. 00005488  6006                     bra        +0x8 /* 00005490 */
  8116. label0000548A:
  8117. 0000548A  4267                     clr.w      -[A7]
  8118. 0000548C  4EBA BF66                jsr        [PC - 0x409A /* 000013F4 */]
  8119. label00005490:
  8120. 00005490  584F                     addq.w     A7, 4
  8121. 00005492  4CDF 0408                movem.l    D3,A2, [A7]+
  8122. 00005496  4E75                     rts
  8123. label00005498:
  8124. 00005498  B66D B418                cmp.w      D3, [A5 - 0x4BE8]
  8125. 0000549C  6616                     bne        +0x18 /* 000054B4 */
  8126. 0000549E  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  8127. 000054A2  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  8128. 000054A6  4EBA D878                jsr        [PC - 0x2788 /* 00002D20 */]
  8129. 000054AA  4FEF 000C                lea.l      A7, [A7 + 0xC]
  8130. 000054AE  4CDF 0408                movem.l    D3,A2, [A7]+
  8131. 000054B2  4E75                     rts
  8132. label000054B4:
  8133. 000054B4  4267                     clr.w      -[A7]
  8134. 000054B6  4EBA BF3C                jsr        [PC - 0x40C4 /* 000013F4 */]
  8135. label000054BA:
  8136. 000054BA  584F                     addq.w     A7, 4
  8137. 000054BC  4CDF 0408                movem.l    D3,A2, [A7]+
  8138. 000054C0  4E75                     rts
  8139. fn000054C2:
  8140. 000054C2  48E7 0030                movem.l    -[A7], A2,A3
  8141. 000054C6  266F 000C                movea.l    A3, [A7 + 0xC]
  8142. 000054CA  594F                     subq.w     A7, 4
  8143. 000054CC  A924                     syscall    FrontWindow
  8144. 000054CE  205F                     movea.l    A0, [A7]+
  8145. 000054D0  2448                     movea.l    A2, A0
  8146. 000054D2  6016                     bra        +0x18 /* 000054EA */
  8147. label000054D4:
  8148. 000054D4  302A 006C                move.w     D0, [A2 + 0x6C]
  8149. 000054D8  B06D B416                cmp.w      D0, [A5 - 0x4BEA]
  8150. 000054DC  6608                     bne        +0xA /* 000054E6 */
  8151. 000054DE  2F0A                     move.l     -[A7], A2
  8152. 000054E0  4EAD E7E0                jsr        [A5 - 0x1820]
  8153. 000054E4  584F                     addq.w     A7, 4
  8154. label000054E6:
  8155. 000054E6  246A 0090                movea.l    A2, [A2 + 0x90]
  8156. label000054EA:
  8157. 000054EA  200A                     move.l     D0, A2
  8158. 000054EC  6704                     beq        +0x6 /* 000054F2 */
  8159. 000054EE  B5CB                     cmpa.l     A2, A3
  8160. 000054F0  66E2                     bne        -0x1C /* 000054D4 */
  8161. label000054F2:
  8162. 000054F2  200B                     move.l     D0, A3
  8163. 000054F4  6712                     beq        +0x14 /* 00005508 */
  8164. 000054F6  302B 006C                move.w     D0, [A3 + 0x6C]
  8165. 000054FA  B06D B416                cmp.w      D0, [A5 - 0x4BEA]
  8166. 000054FE  6608                     bne        +0xA /* 00005508 */
  8167. 00005500  2F0B                     move.l     -[A7], A3
  8168. 00005502  4EAD E7E0                jsr        [A5 - 0x1820]
  8169. 00005506  584F                     addq.w     A7, 4
  8170. label00005508:
  8171. 00005508  4CDF 0C00                movem.l    A2,A3, [A7]+
  8172. 0000550C  4E75                     rts
  8173. fn0000550E:
  8174. 0000550E  48E7 1030                movem.l    -[A7], D3,A2,A3
  8175. 00005512  246F 0012                movea.l    A2, [A7 + 0x12]
  8176. 00005516  4AAD 1312                tst.l      [A5 + 0x1312 /* export_606 */]
  8177. 0000551A  670C                     beq        +0xE /* 00005528 */
  8178. 0000551C  6004                     bra        +0x6 /* 00005522 */
  8179. label0000551E:
  8180. 0000551E  4EAD FC08                jsr        [A5 - 0x3F8]
  8181. label00005522:
  8182. 00005522  4AAD B0E4                tst.l      [A5 - 0x4F1C]
  8183. 00005526  66F6                     bne        -0x8 /* 0000551E */
  8184. label00005528:
  8185. 00005528  4AAD B46C                tst.l      [A5 - 0x4B94]
  8186. 0000552C  6C1A                     bge        +0x1C /* 00005548 */
  8187. 0000552E  4AAD 83CE                tst.l      [A5 - 0x7C32]
  8188. 00005532  660A                     bne        +0xC /* 0000553E */
  8189. 00005534  594F                     subq.w     A7, 4
  8190. 00005536  2EB8 02F4                move.l     [A7], [0x000002F4 /* CaretTime */]
  8191. 0000553A  201F                     move.l     D0, [A7]+
  8192. 0000553C  6006                     bra        +0x8 /* 00005544 */
  8193. label0000553E:
  8194. 0000553E  203C 0000 03E8           move.l     D0, 0x3E8
  8195. label00005544:
  8196. 00005544  2B40 B46C                move.l     [A5 - 0x4B94], D0
  8197. label00005548:
  8198. 00005548  554F                     subq.w     A7, 2
  8199. 0000554A  3F2F 0012                move.w     -[A7], [A7 + 0x12]
  8200. 0000554E  2F0A                     move.l     -[A7], A2
  8201. 00005550  2F2D B46C                move.l     -[A7], [A5 - 0x4B94]
  8202. 00005554  2F2F 0026                move.l     -[A7], [A7 + 0x26]
  8203. 00005558  4EAD E098                jsr        [A5 - 0x1F68]
  8204. 0000555C  101F                     move.b     D0, [A7]+
  8205. 0000555E  7200                     moveq.l    D1, 0x00
  8206. 00005560  1200                     move.b     D1, D0
  8207. 00005562  2601                     move.l     D3, D1
  8208. 00005564  4AAD 1312                tst.l      [A5 + 0x1312 /* export_606 */]
  8209. 00005568  6708                     beq        +0xA /* 00005572 */
  8210. 0000556A  4A52                     tst.w      [A2]
  8211. 0000556C  6604                     bne        +0x6 /* 00005572 */
  8212. 0000556E  4EAD FC08                jsr        [A5 - 0x3F8]
  8213. label00005572:
  8214. 00005572  594F                     subq.w     A7, 4
  8215. 00005574  A924                     syscall    FrontWindow
  8216. 00005576  205F                     movea.l    A0, [A7]+
  8217. 00005578  2648                     movea.l    A3, A0
  8218. 0000557A  200B                     move.l     D0, A3
  8219. 0000557C  671E                     beq        +0x20 /* 0000559C */
  8220. 0000557E  244B                     movea.l    A2, A3
  8221. 00005580  6016                     bra        +0x18 /* 00005598 */
  8222. label00005582:
  8223. 00005582  302A 006C                move.w     D0, [A2 + 0x6C]
  8224. 00005586  B06D B416                cmp.w      D0, [A5 - 0x4BEA]
  8225. 0000558A  6608                     bne        +0xA /* 00005594 */
  8226. 0000558C  2F0A                     move.l     -[A7], A2
  8227. 0000558E  4EAD E428                jsr        [A5 - 0x1BD8]
  8228. 00005592  584F                     addq.w     A7, 4
  8229. label00005594:
  8230. 00005594  246A 0090                movea.l    A2, [A2 + 0x90]
  8231. label00005598:
  8232. 00005598  200A                     move.l     D0, A2
  8233. 0000559A  66E6                     bne        -0x18 /* 00005582 */
  8234. label0000559C:
  8235. 0000559C  2003                     move.l     D0, D3
  8236. 0000559E  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  8237. 000055A2  4E75                     rts
  8238. fn000055A4:
  8239. 000055A4  2F0A                     move.l     -[A7], A2
  8240. 000055A6  594F                     subq.w     A7, 4
  8241. 000055A8  A924                     syscall    FrontWindow
  8242. 000055AA  205F                     movea.l    A0, [A7]+
  8243. 000055AC  2448                     movea.l    A2, A0
  8244. 000055AE  B5ED 833E                cmpa.l     A2, [A5 - 0x7CC2]
  8245. 000055B2  6708                     beq        +0xA /* 000055BC */
  8246. 000055B4  2B4A 833E                move.l     [A5 - 0x7CC2], A2
  8247. 000055B8  2F0A                     move.l     -[A7], A2
  8248. 000055BA  AA94                     syscall    ActivatePalette
  8249. label000055BC:
  8250. 000055BC  245F                     movea.l    A2, [A7]+
  8251. 000055BE  4E75                     rts
  8252. fn000055C0:
  8253. 000055C0  2F0A                     move.l     -[A7], A2
  8254. 000055C2  594F                     subq.w     A7, 4
  8255. 000055C4  A924                     syscall    FrontWindow
  8256. 000055C6  205F                     movea.l    A0, [A7]+
  8257. 000055C8  2448                     movea.l    A2, A0
  8258. 000055CA  200A                     move.l     D0, A2
  8259. 000055CC  6716                     beq        +0x18 /* 000055E4 */
  8260. 000055CE  302A 006C                move.w     D0, [A2 + 0x6C]
  8261. 000055D2  B06D B418                cmp.w      D0, [A5 - 0x4BE8]
  8262. 000055D6  660C                     bne        +0xE /* 000055E4 */
  8263. 000055D8  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  8264. 000055DC  A9C8                     syscall    SysBeep
  8265. 000055DE  7001                     moveq.l    D0, 0x01
  8266. 000055E0  245F                     movea.l    A2, [A7]+
  8267. 000055E2  4E75                     rts
  8268. label000055E4:
  8269. 000055E4  7000                     moveq.l    D0, 0x00
  8270. 000055E6  245F                     movea.l    A2, [A7]+
  8271. 000055E8  4E75                     rts
  8272. fn000055EA:
  8273. 000055EA  2F03                     move.l     -[A7], D3
  8274. 000055EC  514F                     subq.w     A7, 8
  8275. 000055EE  554F                     subq.w     A7, 2
  8276. 000055F0  2F2F 0012                move.l     -[A7], [A7 + 0x12]
  8277. 000055F4  2F3C 6D69 7373           move.l     -[A7], 0x6D697373 /* 'miss' */
  8278. 000055FA  2F3C 2A2A 2A2A           move.l     -[A7], 0x2A2A2A2A /* '****' */
  8279. 00005600  486F 0012                pea.l      [A7 + 0x12]
  8280. 00005604  42A7                     clr.l      -[A7]
  8281. 00005606  42A7                     clr.l      -[A7]
  8282. 00005608  486F 001A                pea.l      [A7 + 0x1A]
  8283. 0000560C  303C 0E15                move.w     D0, 0xE15
  8284. 00005610  A816                     syscall    Pack8
  8285. 00005612  301F                     move.w     D0, [A7]+
  8286. 00005614  3600                     move.w     D3, D0
  8287. 00005616  0C43 F95B                cmpi.w     D3, 0xF95B
  8288. 0000561A  6710                     beq        +0x12 /* 0000562C */
  8289. 0000561C  4A43                     tst.w      D3
  8290. 0000561E  6704                     beq        +0x6 /* 00005624 */
  8291. 00005620  3003                     move.w     D0, D3
  8292. 00005622  6004                     bra        +0x6 /* 00005628 */
  8293. label00005624:
  8294. 00005624  303C F954                move.w     D0, 0xF954
  8295. label00005628:
  8296. 00005628  48C0                     ext.l      D0
  8297. 0000562A  6002                     bra        +0x4 /* 0000562E */
  8298. label0000562C:
  8299. 0000562C  7000                     moveq.l    D0, 0x00
  8300. label0000562E:
  8301. 0000562E  504F                     addq.w     A7, 8
  8302. 00005630  261F                     move.l     D3, [A7]+
  8303. 00005632  4E75                     rts
  8304. fn00005634:
  8305. 00005634  48E7 1820                movem.l    -[A7], D3,D4,A2
  8306. 00005638  4FEF FFA0                lea.l      A7, [A7 - 0x60]
  8307. 0000563C  246F 0070                movea.l    A2, [A7 + 0x70]
  8308. 00005640  554F                     subq.w     A7, 2
  8309. 00005642  2F0A                     move.l     -[A7], A2
  8310. 00005644  2F3C 2D2D 2D2D           move.l     -[A7], 0x2D2D2D2D /* '----' */
  8311. 0000564A  2F3C 6C69 7374           move.l     -[A7], 0x6C697374 /* 'list' */
  8312. 00005650  486F 0020                pea.l      [A7 + 0x20]
  8313. 00005654  303C 0812                move.w     D0, 0x812
  8314. 00005658  A816                     syscall    Pack8
  8315. 0000565A  301F                     move.w     D0, [A7]+
  8316. 0000565C  3600                     move.w     D3, D0
  8317. 0000565E  670C                     beq        +0xE /* 0000566C */
  8318. 00005660  3003                     move.w     D0, D3
  8319. 00005662  4FEF 0060                lea.l      A7, [A7 + 0x60]
  8320. 00005666  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  8321. 0000566A  4E75                     rts
  8322. label0000566C:
  8323. 0000566C  2F0A                     move.l     -[A7], A2
  8324. 0000566E  4EBA FF7A                jsr        [PC - 0x86 /* 000055EA */]
  8325. 00005672  3600                     move.w     D3, D0
  8326. 00005674  584F                     addq.w     A7, 4
  8327. 00005676  671A                     beq        +0x1C /* 00005692 */
  8328. 00005678  554F                     subq.w     A7, 2
  8329. 0000567A  486F 0014                pea.l      [A7 + 0x14]
  8330. 0000567E  303C 0204                move.w     D0, 0x204
  8331. 00005682  A816                     syscall    Pack8
  8332. 00005684  301F                     move.w     D0, [A7]+
  8333. 00005686  3003                     move.w     D0, D3
  8334. 00005688  4FEF 0060                lea.l      A7, [A7 + 0x60]
  8335. 0000568C  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  8336. 00005690  4E75                     rts
  8337. label00005692:
  8338. 00005692  554F                     subq.w     A7, 2
  8339. 00005694  486F 0014                pea.l      [A7 + 0x14]
  8340. 00005698  486F 0014                pea.l      [A7 + 0x14]
  8341. 0000569C  303C 0407                move.w     D0, 0x407
  8342. 000056A0  A816                     syscall    Pack8
  8343. 000056A2  301F                     move.w     D0, [A7]+
  8344. 000056A4  3600                     move.w     D3, D0
  8345. 000056A6  671A                     beq        +0x1C /* 000056C2 */
  8346. 000056A8  554F                     subq.w     A7, 2
  8347. 000056AA  486F 0014                pea.l      [A7 + 0x14]
  8348. 000056AE  303C 0204                move.w     D0, 0x204
  8349. 000056B2  A816                     syscall    Pack8
  8350. 000056B4  301F                     move.w     D0, [A7]+
  8351. 000056B6  3003                     move.w     D0, D3
  8352. 000056B8  4FEF 0060                lea.l      A7, [A7 + 0x60]
  8353. 000056BC  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  8354. 000056C0  4E75                     rts
  8355. label000056C2:
  8356. 000056C2  4AAD B2D8                tst.l      [A5 - 0x4D28]
  8357. 000056C6  667A                     bne        +0x7C /* 00005742 */
  8358. 000056C8  7801                     moveq.l    D4, 0x01
  8359. 000056CA  606C                     bra        +0x6E /* 00005738 */
  8360. label000056CC:
  8361. 000056CC  554F                     subq.w     A7, 2
  8362. 000056CE  486F 0014                pea.l      [A7 + 0x14]
  8363. 000056D2  2F04                     move.l     -[A7], D4
  8364. 000056D4  2F3C 6673 7320           move.l     -[A7], 0x66737320 /* 'fss ' */
  8365. 000056DA  486F 0014                pea.l      [A7 + 0x14]
  8366. 000056DE  486F 001C                pea.l      [A7 + 0x1C]
  8367. 000056E2  486F 0030                pea.l      [A7 + 0x30]
  8368. 000056E6  4878 0046                push.l     0x46 /* 'F' */
  8369. 000056EA  486F 0020                pea.l      [A7 + 0x20]
  8370. 000056EE  303C 100A                move.w     D0, 0x100A
  8371. 000056F2  A816                     syscall    Pack8
  8372. 000056F4  301F                     move.w     D0, [A7]+
  8373. 000056F6  3600                     move.w     D3, D0
  8374. 000056F8  663C                     bne        +0x3E /* 00005736 */
  8375. 000056FA  4AAD 1326                tst.l      [A5 + 0x1326]
  8376. 000056FE  671A                     beq        +0x1C /* 0000571A */
  8377. 00005700  554F                     subq.w     A7, 2
  8378. 00005702  486F 001C                pea.l      [A7 + 0x1C]
  8379. 00005706  1F3C 0001                move.b     -[A7], 0x1
  8380. 0000570A  486F 0009                pea.l      [A7 + 0x9]
  8381. 0000570E  486F 000C                pea.l      [A7 + 0xC]
  8382. 00005712  700C                     moveq.l    D0, 0x0C
  8383. 00005714  A823                     syscall    AliasDispatch
  8384. 00005716  301F                     move.w     D0, [A7]+
  8385. 00005718  3600                     move.w     D3, D0
  8386. label0000571A:
  8387. 0000571A  4A43                     tst.w      D3
  8388. 0000571C  6618                     bne        +0x1A /* 00005736 */
  8389. 0000571E  42A7                     clr.l      -[A7]
  8390. 00005720  42A7                     clr.l      -[A7]
  8391. 00005722  4878 0001                push.l     0x1
  8392. 00005726  4878 0001                push.l     0x1
  8393. 0000572A  486F 002A                pea.l      [A7 + 0x2A]
  8394. 0000572E  4EAD E330                jsr        [A5 - 0x1CD0]
  8395. 00005732  4FEF 0014                lea.l      A7, [A7 + 0x14]
  8396. label00005736:
  8397. 00005736  5284                     addq.l     D4, 1
  8398. label00005738:
  8399. 00005738  B8AF 000E                cmp.l      D4, [A7 + 0xE]
  8400. 0000573C  6E04                     bgt        +0x6 /* 00005742 */
  8401. 0000573E  4A43                     tst.w      D3
  8402. 00005740  678A                     beq        -0x74 /* 000056CC */
  8403. label00005742:
  8404. 00005742  554F                     subq.w     A7, 2
  8405. 00005744  486F 0014                pea.l      [A7 + 0x14]
  8406. 00005748  303C 0204                move.w     D0, 0x204
  8407. 0000574C  A816                     syscall    Pack8
  8408. 0000574E  301F                     move.w     D0, [A7]+
  8409. 00005750  4FEF 0060                lea.l      A7, [A7 + 0x60]
  8410. 00005754  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  8411. 00005758  4E75                     rts
  8412. fn0000575A:
  8413. 0000575A  48E7 1020                movem.l    -[A7], D3,A2
  8414. 0000575E  4FEF FEA8                lea.l      A7, [A7 - 0x158]
  8415. 00005762  246F 0164                movea.l    A2, [A7 + 0x164]
  8416. 00005766  554F                     subq.w     A7, 2
  8417. 00005768  2F0A                     move.l     -[A7], A2
  8418. 0000576A  2F3C 6164 6472           move.l     -[A7], 0x61646472 /* 'addr' */
  8419. 00005770  2F3C 2A2A 2A2A           move.l     -[A7], 0x2A2A2A2A /* '****' */
  8420. 00005776  486F 010E                pea.l      [A7 + 0x10E]
  8421. 0000577A  486F 0012                pea.l      [A7 + 0x12]
  8422. 0000577E  4878 00FC                push.l     0xFC
  8423. 00005782  486F 0116                pea.l      [A7 + 0x116]
  8424. 00005786  303C 0E15                move.w     D0, 0xE15
  8425. 0000578A  A816                     syscall    Pack8
  8426. 0000578C  301F                     move.w     D0, [A7]+
  8427. 0000578E  6612                     bne        +0x14 /* 000057A2 */
  8428. 00005790  554F                     subq.w     A7, 2
  8429. 00005792  486F 0006                pea.l      [A7 + 0x6]
  8430. 00005796  486D 83D6                pea.l      [A5 - 0x7C2A]
  8431. 0000579A  3F3C 0035                move.w     -[A7], 0x35 /* '5' */
  8432. 0000579E  A88F                     syscall    OSDispatch
  8433. 000057A0  301F                     move.w     D0, [A7]+
  8434. label000057A2:
  8435. 000057A2  554F                     subq.w     A7, 2
  8436. 000057A4  2F0A                     move.l     -[A7], A2
  8437. 000057A6  2F3C 2D2D 2D2D           move.l     -[A7], 0x2D2D2D2D /* '----' */
  8438. 000057AC  2F3C 414C 5448           move.l     -[A7], 0x414C5448 /* 'ALTH' */
  8439. 000057B2  486F 010E                pea.l      [A7 + 0x10E]
  8440. 000057B6  486F 011E                pea.l      [A7 + 0x11E]
  8441. 000057BA  4878 004C                push.l     0x4C /* 'L' */
  8442. 000057BE  486F 0116                pea.l      [A7 + 0x116]
  8443. 000057C2  303C 0E11                move.w     D0, 0xE11
  8444. 000057C6  A816                     syscall    Pack8
  8445. 000057C8  301F                     move.w     D0, [A7]+
  8446. 000057CA  3600                     move.w     D3, D0
  8447. 000057CC  670C                     beq        +0xE /* 000057DA */
  8448. 000057CE  3003                     move.w     D0, D3
  8449. 000057D0  4FEF 0158                lea.l      A7, [A7 + 0x158]
  8450. 000057D4  4CDF 0408                movem.l    D3,A2, [A7]+
  8451. 000057D8  4E75                     rts
  8452. label000057DA:
  8453. 000057DA  2F0A                     move.l     -[A7], A2
  8454. 000057DC  4EBA FE0C                jsr        [PC - 0x1F4 /* 000055EA */]
  8455. 000057E0  3600                     move.w     D3, D0
  8456. 000057E2  584F                     addq.w     A7, 4
  8457. 000057E4  670C                     beq        +0xE /* 000057F2 */
  8458. 000057E6  3003                     move.w     D0, D3
  8459. 000057E8  4FEF 0158                lea.l      A7, [A7 + 0x158]
  8460. 000057EC  4CDF 0408                movem.l    D3,A2, [A7]+
  8461. 000057F0  4E75                     rts
  8462. label000057F2:
  8463. 000057F2  2F2F 0152                move.l     -[A7], [A7 + 0x152]
  8464. 000057F6  3F2F 015A                move.w     -[A7], [A7 + 0x15A]
  8465. 000057FA  486F 0112                pea.l      [A7 + 0x112]
  8466. 000057FE  4EBA F5C0                jsr        [PC - 0xA40 /* 00004DC0 */]
  8467. 00005802  4AAD 131E                tst.l      [A5 + 0x131E]
  8468. 00005806  4FEF 000A                lea.l      A7, [A7 + 0xA]
  8469. 0000580A  6718                     beq        +0x1A /* 00005824 */
  8470. 0000580C  42AF 0104                clr.l      [A7 + 0x104]
  8471. 00005810  7002                     moveq.l    D0, 0x02
  8472. 00005812  2F40 0108                move.l     [A7 + 0x108], D0
  8473. 00005816  554F                     subq.w     A7, 2
  8474. 00005818  486F 0106                pea.l      [A7 + 0x106]
  8475. 0000581C  3F3C 003B                move.w     -[A7], 0x3B /* ';' */
  8476. 00005820  A88F                     syscall    OSDispatch
  8477. 00005822  301F                     move.w     D0, [A7]+
  8478. label00005824:
  8479. 00005824  7000                     moveq.l    D0, 0x00
  8480. 00005826  4FEF 0158                lea.l      A7, [A7 + 0x158]
  8481. 0000582A  4CDF 0408                movem.l    D3,A2, [A7]+
  8482. 0000582E  4E75                     rts
  8483. fn00005830:
  8484. 00005830  2F0A                     move.l     -[A7], A2
  8485. 00005832  554F                     subq.w     A7, 2
  8486. 00005834  2F3C 414C 5448           move.l     -[A7], 0x414C5448 /* 'ALTH' */
  8487. 0000583A  486D 1306                pea.l      [A5 + 0x1306]
  8488. 0000583E  4EAD DA66                jsr        [A5 - 0x259A]
  8489. 00005842  301F                     move.w     D0, [A7]+
  8490. 00005844  6708                     beq        +0xA /* 0000584E */
  8491. 00005846  42AD 1306                clr.l      [A5 + 0x1306]
  8492. 0000584A  245F                     movea.l    A2, [A7]+
  8493. 0000584C  4E75                     rts
  8494. label0000584E:
  8495. 0000584E  4AAD 1306                tst.l      [A5 + 0x1306]
  8496. 00005852  671E                     beq        +0x20 /* 00005872 */
  8497. 00005854  206D 1306                movea.l    A0, [A5 + 0x1306]
  8498. 00005858  2450                     movea.l    A2, [A0]
  8499. 0000585A  41F8 0910                lea.l      A0, [0x00000910 /* CurApName */]
  8500. 0000585E  43EA 0004                lea.l      A1, [A2 + 0x4]
  8501. 00005862  7000                     moveq.l    D0, 0x00
  8502. 00005864  1038 0910                move.b     D0, [0x00000910 /* CurApName */]
  8503. 00005868  5280                     addq.l     D0, 1
  8504. 0000586A  A02E                     syscall    BlockMove/BlockMoveData
  8505. 0000586C  357C 0001 0028           move.w     [A2 + 0x28], 0x1
  8506. label00005872:
  8507. 00005872  245F                     movea.l    A2, [A7]+
  8508. 00005874  4E75                     rts
  8509. fn00005876:
  8510. 00005876  48E7 1020                movem.l    -[A7], D3,A2
  8511. 0000587A  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  8512. 0000587E  246F 001C                movea.l    A2, [A7 + 0x1C]
  8513. 00005882  262F 0020                move.l     D3, [A7 + 0x20]
  8514. 00005886  4A83                     tst.l      D3
  8515. 00005888  6706                     beq        +0x8 /* 00005890 */
  8516. 0000588A  4EAD E0C8                jsr        [A5 - 0x1F38]
  8517. 0000588E  6004                     bra        +0x6 /* 00005894 */
  8518. label00005890:
  8519. 00005890  4EBA AD90                jsr        [PC - 0x5270 /* 00000622 */]
  8520. label00005894:
  8521. 00005894  4AAD 1312                tst.l      [A5 + 0x1312 /* export_606 */]
  8522. 00005898  6600 0096                bne        +0x98 /* 00005930 */
  8523. 0000589C  4A83                     tst.l      D3
  8524. 0000589E  6604                     bne        +0x6 /* 000058A4 */
  8525. 000058A0  42AD 8396                clr.l      [A5 - 0x7C6A]
  8526. label000058A4:
  8527. 000058A4  2003                     move.l     D0, D3
  8528. 000058A6  57C0                     seq        D0
  8529. 000058A8  4400                     neg.b      D0
  8530. 000058AA  4880                     ext.w      D0
  8531. 000058AC  48C0                     ext.l      D0
  8532. 000058AE  2B40 83CE                move.l     [A5 - 0x7C32], D0
  8533. 000058B2  70FF                     moveq.l    D0, 0xFFFFFFFF
  8534. 000058B4  2B40 B46C                move.l     [A5 - 0x4B94], D0
  8535. 000058B8  200A                     move.l     D0, A2
  8536. 000058BA  6772                     beq        +0x74 /* 0000592E */
  8537. 000058BC  302A 006C                move.w     D0, [A2 + 0x6C]
  8538. 000058C0  B06D B416                cmp.w      D0, [A5 - 0x4BEA]
  8539. 000058C4  6636                     bne        +0x38 /* 000058FC */
  8540. 000058C6  2F03                     move.l     -[A7], D3
  8541. 000058C8  2F0A                     move.l     -[A7], A2
  8542. 000058CA  4EAD E7C8                jsr        [A5 - 0x1838]
  8543. 000058CE  4AAD 83B6                tst.l      [A5 - 0x7C4A]
  8544. 000058D2  504F                     addq.w     A7, 8
  8545. 000058D4  671A                     beq        +0x1C /* 000058F0 */
  8546. 000058D6  4EBA EE2E                jsr        [PC - 0x11D2 /* 00004706 */]
  8547. 000058DA  594F                     subq.w     A7, 4
  8548. 000058DC  206D 1342                movea.l    A0, [A5 + 0x1342 /* export_612 */]
  8549. 000058E0  4E90                     jsr        [A0]
  8550. 000058E2  205F                     movea.l    A0, [A7]+
  8551. 000058E4  2448                     movea.l    A2, A0
  8552. 000058E6  2008                     move.l     D0, A0
  8553. 000058E8  6706                     beq        +0x8 /* 000058F0 */
  8554. 000058EA  2F0A                     move.l     -[A7], A2
  8555. 000058EC  4227                     clr.b      -[A7]
  8556. 000058EE  A91C                     syscall    HiliteWindow
  8557. label000058F0:
  8558. 000058F0  204A                     movea.l    A0, A2
  8559. 000058F2  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8560. 000058F6  4CDF 0408                movem.l    D3,A2, [A7]+
  8561. 000058FA  4E75                     rts
  8562. label000058FC:
  8563. 000058FC  302A 006C                move.w     D0, [A2 + 0x6C]
  8564. 00005900  B06D B418                cmp.w      D0, [A5 - 0x4BE8]
  8565. 00005904  6628                     bne        +0x2A /* 0000592E */
  8566. 00005906  2F4A 0002                move.l     [A7 + 0x2], A2
  8567. 0000590A  3EBC 0008                move.w     [A7], 0x8
  8568. 0000590E  4A83                     tst.l      D3
  8569. 00005910  6604                     bne        +0x6 /* 00005916 */
  8570. 00005912  7000                     moveq.l    D0, 0x00
  8571. 00005914  6002                     bra        +0x4 /* 00005918 */
  8572. label00005916:
  8573. 00005916  7001                     moveq.l    D0, 0x01
  8574. label00005918:
  8575. 00005918  3F40 000E                move.w     [A7 + 0xE], D0
  8576. 0000591C  3F3C 0001                move.w     -[A7], 0x1
  8577. 00005920  486F 0002                pea.l      [A7 + 0x2]
  8578. 00005924  2F0A                     move.l     -[A7], A2
  8579. 00005926  4EBA CF38                jsr        [PC - 0x30C8 /* 00002860 */]
  8580. 0000592A  4FEF 000A                lea.l      A7, [A7 + 0xA]
  8581. label0000592E:
  8582. 0000592E  91C8                     sub.l      A0, A0
  8583. label00005930:
  8584. 00005930  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8585. 00005934  4CDF 0408                movem.l    D3,A2, [A7]+
  8586. 00005938  4E75                     rts
  8587. fn0000593A:
  8588. 0000593A  48E7 1820                movem.l    -[A7], D3,D4,A2
  8589. 0000593E  4FEF FFAC                lea.l      A7, [A7 - 0x54]
  8590. 00005942  594F                     subq.w     A7, 4
  8591. 00005944  2F3C 6366 7267           move.l     -[A7], 0x63667267 /* 'cfrg' */
  8592. 0000594A  4267                     clr.w      -[A7]
  8593. 0000594C  A81F                     syscall    Get1Resource
  8594. 0000594E  205F                     movea.l    A0, [A7]+
  8595. 00005950  2448                     movea.l    A2, A0
  8596. 00005952  200A                     move.l     D0, A2
  8597. 00005954  6606                     bne        +0x8 /* 0000595C */
  8598. 00005956  2E80                     move.l     [A7], D0
  8599. 00005958  7000                     moveq.l    D0, 0x00
  8600. 0000595A  6006                     bra        +0x8 /* 00005962 */
  8601. label0000595C:
  8602. 0000595C  2052                     movea.l    A0, [A2]
  8603. 0000595E  2028 003C                move.l     D0, [A0 + 0x3C]
  8604. label00005962:
  8605. 00005962  2600                     move.l     D3, D0
  8606. 00005964  7004                     moveq.l    D0, 0x04
  8607. 00005966  2F40 0004                move.l     [A7 + 0x4], D0
  8608. 0000596A  7800                     moveq.l    D4, 0x00
  8609. 0000596C  3F6D 8A28 000E           move.w     [A7 + 0xE], [A5 - 0x75D8]
  8610. 00005972  2F6D 8A22 0010           move.l     [A7 + 0x10], [A5 - 0x75DE]
  8611. 00005978  41F8 0910                lea.l      A0, [0x00000910 /* CurApName */]
  8612. 0000597C  43EF 0014                lea.l      A1, [A7 + 0x14]
  8613. 00005980  7000                     moveq.l    D0, 0x00
  8614. 00005982  1038 0910                move.b     D0, [0x00000910 /* CurApName */]
  8615. 00005986  5280                     addq.l     D0, 1
  8616. 00005988  A02E                     syscall    BlockMove/BlockMoveData
  8617. 0000598A  554F                     subq.w     A7, 2
  8618. 0000598C  3F2F 0010                move.w     -[A7], [A7 + 0x10]
  8619. 00005990  2F2F 0014                move.l     -[A7], [A7 + 0x14]
  8620. 00005994  486F 001C                pea.l      [A7 + 0x1C]
  8621. 00005998  1F3C 0001                move.b     -[A7], 0x1
  8622. 0000599C  486F 001A                pea.l      [A7 + 0x1A]
  8623. 000059A0  4EAD D9FA                jsr        [A5 - 0x2606]
  8624. 000059A4  301F                     move.w     D0, [A7]+
  8625. 000059A6  666A                     bne        +0x6C /* 00005A12 */
  8626. 000059A8  4A83                     tst.l      D3
  8627. 000059AA  6712                     beq        +0x14 /* 000059BE */
  8628. 000059AC  554F                     subq.w     A7, 2
  8629. 000059AE  3F2F 000E                move.w     -[A7], [A7 + 0xE]
  8630. 000059B2  3F3C 0001                move.w     -[A7], 0x1
  8631. 000059B6  2F03                     move.l     -[A7], D3
  8632. 000059B8  4EAD D9F4                jsr        [A5 - 0x260C]
  8633. 000059BC  301F                     move.w     D0, [A7]+
  8634. label000059BE:
  8635. 000059BE  554F                     subq.w     A7, 2
  8636. 000059C0  3F2F 000E                move.w     -[A7], [A7 + 0xE]
  8637. 000059C4  486F 0008                pea.l      [A7 + 0x8]
  8638. 000059C8  486F 0010                pea.l      [A7 + 0x10]
  8639. 000059CC  4EAD D9D0                jsr        [A5 - 0x2630]
  8640. 000059D0  301F                     move.w     D0, [A7]+
  8641. 000059D2  660C                     bne        +0xE /* 000059E0 */
  8642. 000059D4  0CAF FFFE 4A5A 0008      cmpi.l     [A7 + 0x8], 0xFFFE4A5A
  8643. 000059DC  6602                     bne        +0x4 /* 000059E0 */
  8644. 000059DE  7801                     moveq.l    D4, 0x01
  8645. label000059E0:
  8646. 000059E0  554F                     subq.w     A7, 2
  8647. 000059E2  3F2F 000E                move.w     -[A7], [A7 + 0xE]
  8648. 000059E6  4EAD D9CA                jsr        [A5 - 0x2636]
  8649. 000059EA  301F                     move.w     D0, [A7]+
  8650. 000059EC  4A84                     tst.l      D4
  8651. 000059EE  6722                     beq        +0x24 /* 00005A12 */
  8652. 000059F0  3F3C 0001                move.w     -[A7], 0x1
  8653. 000059F4  42A7                     clr.l      -[A7]
  8654. 000059F6  4EAD E0E8                jsr        [A5 - 0x1F18]
  8655. 000059FA  42A7                     clr.l      -[A7]
  8656. 000059FC  42A7                     clr.l      -[A7]
  8657. 000059FE  4878 0001                push.l     0x1
  8658. 00005A02  4878 0001                push.l     0x1
  8659. 00005A06  486F 0024                pea.l      [A7 + 0x24]
  8660. 00005A0A  4EAD E330                jsr        [A5 - 0x1CD0]
  8661. 00005A0E  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  8662. label00005A12:
  8663. 00005A12  4FEF 0054                lea.l      A7, [A7 + 0x54]
  8664. 00005A16  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  8665. 00005A1A  4E75                     rts
  8666. 00005A1C  2F03                     move.l     -[A7], D3
  8667. 00005A1E  4FEF FEFA                lea.l      A7, [A7 - 0x106]
  8668. 00005A22  362F 0112                move.w     D3, [A7 + 0x112]
  8669. 00005A26  4A2D 83E1                tst.b      [A5 - 0x7C1F]
  8670. 00005A2A  6632                     bne        +0x34 /* 00005A5E */
  8671. 00005A2C  554F                     subq.w     A7, 2
  8672. 00005A2E  2F3C 6865 6C70           move.l     -[A7], 0x68656C70 /* 'help' */
  8673. 00005A34  486F 0006                pea.l      [A7 + 0x6]
  8674. 00005A38  4EAD DA66                jsr        [A5 - 0x259A]
  8675. 00005A3C  301F                     move.w     D0, [A7]+
  8676. 00005A3E  6618                     bne        +0x1A /* 00005A58 */
  8677. 00005A40  554F                     subq.w     A7, 2
  8678. 00005A42  486F 0002                pea.l      [A7 + 0x2]
  8679. 00005A46  4878 001F                push.l     0x1F
  8680. 00005A4A  A85D                     syscall    BitTst
  8681. 00005A4C  101F                     move.b     D0, [A7]+
  8682. 00005A4E  6708                     beq        +0xA /* 00005A58 */
  8683. 00005A50  1B7C 0002 83E1           move.b     [A5 - 0x7C1F], 0x2
  8684. 00005A56  6006                     bra        +0x8 /* 00005A5E */
  8685. label00005A58:
  8686. 00005A58  1B7C 0001 83E1           move.b     [A5 - 0x7C1F], 0x1
  8687. label00005A5E:
  8688. 00005A5E  0C2D 0002 83E1           cmpi.b     [A5 - 0x7C1F], 0x2
  8689. 00005A64  6600 0080                bne        +0x82 /* 00005AE6 */
  8690. 00005A68  554F                     subq.w     A7, 2
  8691. 00005A6A  303C 0003                move.w     D0, 0x3
  8692. 00005A6E  A830                     syscall    Pack14
  8693. 00005A70  101F                     move.b     D0, [A7]+
  8694. 00005A72  660C                     bne        +0xE /* 00005A80 */
  8695. 00005A74  426D 83DE                clr.w      [A5 - 0x7C22]
  8696. 00005A78  4FEF 0106                lea.l      A7, [A7 + 0x106]
  8697. 00005A7C  261F                     move.l     D3, [A7]+
  8698. 00005A7E  4E75                     rts
  8699. label00005A80:
  8700. 00005A80  B66D 83DE                cmp.w      D3, [A5 - 0x7C22]
  8701. 00005A84  660C                     bne        +0xE /* 00005A92 */
  8702. 00005A86  554F                     subq.w     A7, 2
  8703. 00005A88  303C 0007                move.w     D0, 0x7
  8704. 00005A8C  A830                     syscall    Pack14
  8705. 00005A8E  101F                     move.b     D0, [A7]+
  8706. 00005A90  6654                     bne        +0x56 /* 00005AE6 */
  8707. label00005A92:
  8708. 00005A92  3B43 83DE                move.w     [A5 - 0x7C22], D3
  8709. 00005A96  6612                     bne        +0x14 /* 00005AAA */
  8710. 00005A98  554F                     subq.w     A7, 2
  8711. 00005A9A  303C 0002                move.w     D0, 0x2
  8712. 00005A9E  A830                     syscall    Pack14
  8713. 00005AA0  301F                     move.w     D0, [A7]+
  8714. 00005AA2  4FEF 0106                lea.l      A7, [A7 + 0x106]
  8715. 00005AA6  261F                     move.l     D3, [A7]+
  8716. 00005AA8  4E75                     rts
  8717. label00005AAA:
  8718. 00005AAA  5B6F 0110                subq.w     [A7 + 0x110], 5
  8719. 00005AAE  5B6F 010E                subq.w     [A7 + 0x10E], 5
  8720. 00005AB2  3F7C 0003 0004           move.w     [A7 + 0x4], 0x3
  8721. 00005AB8  302D 135E                move.w     D0, [A5 + 0x135E]
  8722. 00005ABC  48C0                     ext.l      D0
  8723. 00005ABE  0680 0000 0083           addi.l     D0, 0x83
  8724. 00005AC4  3F40 0006                move.w     [A7 + 0x6], D0
  8725. 00005AC8  3F43 0008                move.w     [A7 + 0x8], D3
  8726. 00005ACC  554F                     subq.w     A7, 2
  8727. 00005ACE  486F 0006                pea.l      [A7 + 0x6]
  8728. 00005AD2  2F2F 0114                move.l     -[A7], [A7 + 0x114]
  8729. 00005AD6  42A7                     clr.l      -[A7]
  8730. 00005AD8  42A7                     clr.l      -[A7]
  8731. 00005ADA  42A7                     clr.l      -[A7]
  8732. 00005ADC  4267                     clr.w      -[A7]
  8733. 00005ADE  303C 0B01                move.w     D0, 0xB01
  8734. 00005AE2  A830                     syscall    Pack14
  8735. 00005AE4  301F                     move.w     D0, [A7]+
  8736. label00005AE6:
  8737. 00005AE6  4FEF 0106                lea.l      A7, [A7 + 0x106]
  8738. 00005AEA  261F                     move.l     D3, [A7]+
  8739. 00005AEC  4E75                     rts
  8740. 00005AEE  2F03                     move.l     -[A7], D3
  8741. 00005AF0  4FEF FFC6                lea.l      A7, [A7 - 0x3A]
  8742. 00005AF4  3F3C 0007                move.w     -[A7], 0x7
  8743. 00005AF8  42A7                     clr.l      -[A7]
  8744. 00005AFA  486F 000A                pea.l      [A7 + 0xA]
  8745. 00005AFE  4EBA 0156                jsr        [PC + 0x156 /* 00005C56 */]
  8746. 00005B02  4A80                     tst.l      D0
  8747. 00005B04  4FEF 000A                lea.l      A7, [A7 + 0xA]
  8748. 00005B08  677A                     beq        +0x7C /* 00005B84 */
  8749. 00005B0A  7034                     moveq.l    D0, 0x34
  8750. 00005B0C  2E80                     move.l     [A7], D0
  8751. 00005B0E  554F                     subq.w     A7, 2
  8752. 00005B10  3F2F 0006                move.w     -[A7], [A7 + 0x6]
  8753. 00005B14  486F 0004                pea.l      [A7 + 0x4]
  8754. 00005B18  486F 000E                pea.l      [A7 + 0xE]
  8755. 00005B1C  4EAD D9D0                jsr        [A5 - 0x2630]
  8756. 00005B20  301F                     move.w     D0, [A7]+
  8757. 00005B22  3600                     move.w     D3, D0
  8758. 00005B24  6618                     bne        +0x1A /* 00005B3E */
  8759. 00005B26  0C6F 0110 0006           cmpi.w     [A7 + 0x6], 0x110
  8760. 00005B2C  6610                     bne        +0x12 /* 00005B3E */
  8761. 00005B2E  41EF 0006                lea.l      A0, [A7 + 0x6]
  8762. 00005B32  43ED B470                lea.l      A1, [A5 - 0x4B90]
  8763. 00005B36  700C                     moveq.l    D0, 0x0C
  8764. label00005B38:
  8765. 00005B38  22D8                     move.l     [A1]+, [A0]+
  8766. 00005B3A  51C8 FFFC                dbf        D0, -0x6 /* 00005B38 */
  8767. label00005B3E:
  8768. 00005B3E  554F                     subq.w     A7, 2
  8769. 00005B40  3F2F 0006                move.w     -[A7], [A7 + 0x6]
  8770. 00005B44  4EAD D9CA                jsr        [A5 - 0x2636]
  8771. 00005B48  301F                     move.w     D0, [A7]+
  8772. 00005B4A  4A43                     tst.w      D3
  8773. 00005B4C  6714                     beq        +0x16 /* 00005B62 */
  8774. 00005B4E  0C43 FFD9                cmpi.w     D3, 0xFFD9
  8775. 00005B52  670E                     beq        +0x10 /* 00005B62 */
  8776. 00005B54  3F03                     move.w     -[A7], D3
  8777. 00005B56  3F3C 0007                move.w     -[A7], 0x7
  8778. 00005B5A  4EBA C66E                jsr        [PC - 0x3992 /* 000021CA */]
  8779. 00005B5E  584F                     addq.w     A7, 4
  8780. 00005B60  6022                     bra        +0x24 /* 00005B84 */
  8781. label00005B62:
  8782. 00005B62  4A6D B48A                tst.w      [A5 - 0x4B76]
  8783. 00005B66  671C                     beq        +0x1E /* 00005B84 */
  8784. 00005B68  302D 135E                move.w     D0, [A5 + 0x135E]
  8785. 00005B6C  48C0                     ext.l      D0
  8786. 00005B6E  0680 0000 008A           addi.l     D0, 0x8A
  8787. 00005B74  3F00                     move.w     -[A7], D0
  8788. 00005B76  4EAD DB62                jsr        [A5 - 0x249E]
  8789. 00005B7A  4A80                     tst.l      D0
  8790. 00005B7C  544F                     addq.w     A7, 2
  8791. 00005B7E  6604                     bne        +0x6 /* 00005B84 */
  8792. 00005B80  426D B48A                clr.w      [A5 - 0x4B76]
  8793. label00005B84:
  8794. 00005B84  4FEF 003A                lea.l      A7, [A7 + 0x3A]
  8795. 00005B88  261F                     move.l     D3, [A7]+
  8796. 00005B8A  4E75                     rts
  8797. 00005B8C  514F                     subq.w     A7, 8
  8798. 00005B8E  3F3C 0008                move.w     -[A7], 0x8
  8799. 00005B92  4878 0001                push.l     0x1
  8800. 00005B96  486F 000C                pea.l      [A7 + 0xC]
  8801. 00005B9A  4EBA 00BA                jsr        [PC + 0xBA /* 00005C56 */]
  8802. 00005B9E  4A80                     tst.l      D0
  8803. 00005BA0  4FEF 000A                lea.l      A7, [A7 + 0xA]
  8804. 00005BA4  6736                     beq        +0x38 /* 00005BDC */
  8805. 00005BA6  7034                     moveq.l    D0, 0x34
  8806. 00005BA8  2F40 0002                move.l     [A7 + 0x2], D0
  8807. 00005BAC  554F                     subq.w     A7, 2
  8808. 00005BAE  3F2F 0008                move.w     -[A7], [A7 + 0x8]
  8809. 00005BB2  486F 0006                pea.l      [A7 + 0x6]
  8810. 00005BB6  486D B470                pea.l      [A5 - 0x4B90]
  8811. 00005BBA  4EAD D9D6                jsr        [A5 - 0x262A]
  8812. 00005BBE  301F                     move.w     D0, [A7]+
  8813. 00005BC0  3E80                     move.w     [A7], D0
  8814. 00005BC2  670C                     beq        +0xE /* 00005BD0 */
  8815. 00005BC4  3F17                     move.w     -[A7], [A7]
  8816. 00005BC6  3F3C 0008                move.w     -[A7], 0x8
  8817. 00005BCA  4EBA C5FE                jsr        [PC - 0x3A02 /* 000021CA */]
  8818. 00005BCE  584F                     addq.w     A7, 4
  8819. label00005BD0:
  8820. 00005BD0  554F                     subq.w     A7, 2
  8821. 00005BD2  3F2F 0008                move.w     -[A7], [A7 + 0x8]
  8822. 00005BD6  4EAD D9CA                jsr        [A5 - 0x2636]
  8823. 00005BDA  301F                     move.w     D0, [A7]+
  8824. label00005BDC:
  8825. 00005BDC  504F                     addq.w     A7, 8
  8826. 00005BDE  4E75                     rts
  8827. fn00005BE0:
  8828. 00005BE0  48E7 1030                movem.l    -[A7], D3,A2,A3
  8829. 00005BE4  4FEF FFEC                lea.l      A7, [A7 - 0x14]
  8830. 00005BE8  266F 0024                movea.l    A3, [A7 + 0x24]
  8831. 00005BEC  246F 0028                movea.l    A2, [A7 + 0x28]
  8832. 00005BF0  7600                     moveq.l    D3, 0x00
  8833. 00005BF2  4AAD 132E                tst.l      [A5 + 0x132E]
  8834. 00005BF6  671E                     beq        +0x20 /* 00005C16 */
  8835. 00005BF8  554F                     subq.w     A7, 2
  8836. 00005BFA  3F3C 8000                move.w     -[A7], 0x8000
  8837. 00005BFE  2F3C 7072 6566           move.l     -[A7], 0x70726566 /* 'pref' */
  8838. 00005C04  1F3C 0001                move.b     -[A7], 0x1
  8839. 00005C08  2F0B                     move.l     -[A7], A3
  8840. 00005C0A  2F0A                     move.l     -[A7], A2
  8841. 00005C0C  4EAD DA2A                jsr        [A5 - 0x25D6]
  8842. 00005C10  301F                     move.w     D0, [A7]+
  8843. 00005C12  3600                     move.w     D3, D0
  8844. 00005C14  602A                     bra        +0x2C /* 00005C40 */
  8845. label00005C16:
  8846. 00005C16  554F                     subq.w     A7, 2
  8847. 00005C18  3F3C 0001                move.w     -[A7], 0x1
  8848. 00005C1C  486F 0008                pea.l      [A7 + 0x8]
  8849. 00005C20  4EAD DA60                jsr        [A5 - 0x25A0]
  8850. 00005C24  301F                     move.w     D0, [A7]+
  8851. 00005C26  3600                     move.w     D3, D0
  8852. 00005C28  6616                     bne        +0x18 /* 00005C40 */
  8853. 00005C2A  554F                     subq.w     A7, 2
  8854. 00005C2C  3F2F 0014                move.w     -[A7], [A7 + 0x14]
  8855. 00005C30  2F0B                     move.l     -[A7], A3
  8856. 00005C32  2F0A                     move.l     -[A7], A2
  8857. 00005C34  486F 000C                pea.l      [A7 + 0xC]
  8858. 00005C38  4EAD DA18                jsr        [A5 - 0x25E8]
  8859. 00005C3C  301F                     move.w     D0, [A7]+
  8860. 00005C3E  3600                     move.w     D3, D0
  8861. label00005C40:
  8862. 00005C40  4A43                     tst.w      D3
  8863. 00005C42  6708                     beq        +0xA /* 00005C4C */
  8864. 00005C44  36BC FFFF                move.w     [A3], 0xFFFF
  8865. 00005C48  7002                     moveq.l    D0, 0x02
  8866. 00005C4A  2480                     move.l     [A2], D0
  8867. label00005C4C:
  8868. 00005C4C  4FEF 0014                lea.l      A7, [A7 + 0x14]
  8869. 00005C50  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  8870. 00005C54  4E75                     rts
  8871. fn00005C56:
  8872. 00005C56  48E7 1C00                movem.l    -[A7], D3,D4,D5
  8873. 00005C5A  4FEF FEEA                lea.l      A7, [A7 - 0x116]
  8874. 00005C5E  486F 0006                pea.l      [A7 + 0x6]
  8875. 00005C62  302D 135E                move.w     D0, [A5 + 0x135E]
  8876. 00005C66  48C0                     ext.l      D0
  8877. 00005C68  0680 0000 0081           addi.l     D0, 0x81
  8878. 00005C6E  3F00                     move.w     -[A7], D0
  8879. 00005C70  3F3C 0013                move.w     -[A7], 0x13
  8880. 00005C74  4EAD DA4E                jsr        [A5 - 0x25B2]
  8881. 00005C78  486F 0002                pea.l      [A7 + 0x2]
  8882. 00005C7C  486F 0004                pea.l      [A7 + 0x4]
  8883. 00005C80  4EBA FF5E                jsr        [PC - 0xA2 /* 00005BE0 */]
  8884. 00005C84  3F2F 0008                move.w     -[A7], [A7 + 0x8]
  8885. 00005C88  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  8886. 00005C8C  486F 0014                pea.l      [A7 + 0x14]
  8887. 00005C90  486F 0118                pea.l      [A7 + 0x118]
  8888. 00005C94  4EAD DA06                jsr        [A5 - 0x25FA]
  8889. 00005C98  301F                     move.w     D0, [A7]+
  8890. 00005C9A  3600                     move.w     D3, D0
  8891. 00005C9C  5C4F                     addq.w     A7, 6
  8892. 00005C9E  6638                     bne        +0x3A /* 00005CD8 */
  8893. 00005CA0  283C 414C 5471           move.l     D4, 0x414C5471 /* 'ALTq' */
  8894. 00005CA6  2A3C 414C 5456           move.l     D5, 0x414C5456 /* 'ALTV' */
  8895. 00005CAC  B8AF 0106                cmp.l      D4, [A7 + 0x106]
  8896. 00005CB0  6606                     bne        +0x8 /* 00005CB8 */
  8897. 00005CB2  BAAF 010A                cmp.l      D5, [A7 + 0x10A]
  8898. 00005CB6  6720                     beq        +0x22 /* 00005CD8 */
  8899. label00005CB8:
  8900. 00005CB8  2F44 0106                move.l     [A7 + 0x106], D4
  8901. 00005CBC  2F45 010A                move.l     [A7 + 0x10A], D5
  8902. 00005CC0  554F                     subq.w     A7, 2
  8903. 00005CC2  3F2F 0002                move.w     -[A7], [A7 + 0x2]
  8904. 00005CC6  2F2F 0006                move.l     -[A7], [A7 + 0x6]
  8905. 00005CCA  486F 000E                pea.l      [A7 + 0xE]
  8906. 00005CCE  486F 0112                pea.l      [A7 + 0x112]
  8907. 00005CD2  4EAD DA0C                jsr        [A5 - 0x25F4]
  8908. 00005CD6  301F                     move.w     D0, [A7]+
  8909. label00005CD8:
  8910. 00005CD8  0C43 FFD5                cmpi.w     D3, 0xFFD5
  8911. 00005CDC  6712                     beq        +0x14 /* 00005CF0 */
  8912. 00005CDE  0C43 FF88                cmpi.w     D3, 0xFF88
  8913. 00005CE2  670C                     beq        +0xE /* 00005CF0 */
  8914. 00005CE4  0C43 FFDD                cmpi.w     D3, 0xFFDD
  8915. 00005CE8  6706                     beq        +0x8 /* 00005CF0 */
  8916. 00005CEA  0C43 FFDB                cmpi.w     D3, 0xFFDB
  8917. 00005CEE  6636                     bne        +0x38 /* 00005D26 */
  8918. label00005CF0:
  8919. 00005CF0  4AAF 012A                tst.l      [A7 + 0x12A]
  8920. 00005CF4  6724                     beq        +0x26 /* 00005D1A */
  8921. 00005CF6  554F                     subq.w     A7, 2
  8922. 00005CF8  3F2F 0002                move.w     -[A7], [A7 + 0x2]
  8923. 00005CFC  2F2F 0006                move.l     -[A7], [A7 + 0x6]
  8924. 00005D00  486F 000E                pea.l      [A7 + 0xE]
  8925. 00005D04  2F3C 414C 5456           move.l     -[A7], 0x414C5456 /* 'ALTV' */
  8926. 00005D0A  2F3C 414C 5471           move.l     -[A7], 0x414C5471 /* 'ALTq' */
  8927. 00005D10  4EAD DA00                jsr        [A5 - 0x2600]
  8928. 00005D14  301F                     move.w     D0, [A7]+
  8929. 00005D16  3600                     move.w     D3, D0
  8930. 00005D18  600C                     bra        +0xE /* 00005D26 */
  8931. label00005D1A:
  8932. 00005D1A  7000                     moveq.l    D0, 0x00
  8933. 00005D1C  4FEF 0116                lea.l      A7, [A7 + 0x116]
  8934. 00005D20  4CDF 0038                movem.l    D3,D4,D5, [A7]+
  8935. 00005D24  4E75                     rts
  8936. label00005D26:
  8937. 00005D26  4A43                     tst.w      D3
  8938. 00005D28  6620                     bne        +0x22 /* 00005D4A */
  8939. 00005D2A  554F                     subq.w     A7, 2
  8940. 00005D2C  3F2F 0002                move.w     -[A7], [A7 + 0x2]
  8941. 00005D30  2F2F 0006                move.l     -[A7], [A7 + 0x6]
  8942. 00005D34  486F 000E                pea.l      [A7 + 0xE]
  8943. 00005D38  1F3C 0003                move.b     -[A7], 0x3
  8944. 00005D3C  2F2F 0134                move.l     -[A7], [A7 + 0x134]
  8945. 00005D40  4EAD D9FA                jsr        [A5 - 0x2606]
  8946. 00005D44  301F                     move.w     D0, [A7]+
  8947. 00005D46  3600                     move.w     D3, D0
  8948. 00005D48  6724                     beq        +0x26 /* 00005D6E */
  8949. label00005D4A:
  8950. 00005D4A  4AAD 83E2                tst.l      [A5 - 0x7C1E]
  8951. 00005D4E  6612                     bne        +0x14 /* 00005D62 */
  8952. 00005D50  3F03                     move.w     -[A7], D3
  8953. 00005D52  3F2F 0130                move.w     -[A7], [A7 + 0x130]
  8954. 00005D56  4EBA C472                jsr        [PC - 0x3B8E /* 000021CA */]
  8955. 00005D5A  7001                     moveq.l    D0, 0x01
  8956. 00005D5C  2B40 83E2                move.l     [A5 - 0x7C1E], D0
  8957. 00005D60  584F                     addq.w     A7, 4
  8958. label00005D62:
  8959. 00005D62  7000                     moveq.l    D0, 0x00
  8960. 00005D64  4FEF 0116                lea.l      A7, [A7 + 0x116]
  8961. 00005D68  4CDF 0038                movem.l    D3,D4,D5, [A7]+
  8962. 00005D6C  4E75                     rts
  8963. label00005D6E:
  8964. 00005D6E  7001                     moveq.l    D0, 0x01
  8965. 00005D70  4FEF 0116                lea.l      A7, [A7 + 0x116]
  8966. 00005D74  4CDF 0038                movem.l    D3,D4,D5, [A7]+
  8967. 00005D78  4E75                     rts
  8968. 00005D7A  0000 0000                ori.b      D0, 0x0
  8969. 00005D7E  0000 0000                ori.b      D0, 0x0
  8970. 00005D82  0000 0000                ori.b      D0, 0x0
  8971.